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