diff options
author | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
commit | 7386392b8cd08e73e4f5fa6080e8f4fcf20831f6 (patch) | |
tree | 73330ee296f398b7720312a942bc9d524ece9857 /templates/nav.html | |
parent | templates/file.html: Remove line numbers (diff) | |
download | legitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.tar.gz legitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.tar.zst legitrx-7386392b8cd08e73e4f5fa6080e8f4fcf20831f6.zip |
Some more HTML sanities
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 }} |