diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 12:46:09 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 12:46:57 +0530 |
commit | 9649b3ed2b252cab6ab4076d58814790582f07f0 (patch) | |
tree | 9af97b2edfb543ea96fd3d647c98763f1f52a905 /templates/nav.html | |
parent | d083d5d72e4bf496b8152d14986818a5b63fe301 (diff) | |
download | legit-9649b3ed2b252cab6ab4076d58814790582f07f0.tar.gz legit-9649b3ed2b252cab6ab4076d58814790582f07f0.tar.bz2 legit-9649b3ed2b252cab6ab4076d58814790582f07f0.zip |
templates: index rework
Diffstat (limited to '')
-rw-r--r-- | templates/nav.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/nav.html b/templates/nav.html index 973eae2..d0d384d 100644 --- a/templates/nav.html +++ b/templates/nav.html @@ -4,12 +4,12 @@ <li><a href="/">all repos</a> {{ if .name }} <li><a href="/{{ .name }}">{{ .name }}</a> - {{ end }} - {{ if .ref }} - <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a> - <li><a href="/{{ .name }}/log/{{ .ref }}">log</a> - {{ end }} <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 }} |