diff options
Diffstat (limited to 'templates/nav.html')
-rw-r--r-- | templates/nav.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/nav.html b/templates/nav.html index 3d40495..51a1e92 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -1,14 +1,14 @@ {{ define "nav" }} - <nav> - <ul> - {{ if .name }} +<nav> + <ul> + {{ if .name }} <li><a href="/{{ .name }}">summary</a> <li><a href="/{{ .name }}/refs">refs</a> - {{ if .ref }} + {{ if .ref }} <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a> <li><a href="/{{ .name }}/log/{{ .ref }}">log</a> - {{ end }} {{ end }} - </ul> - </nav> + {{ end }} + </ul> +</nav> {{ end }} |