summaryrefslogtreecommitdiffstats
path: root/templates/nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nav.html')
-rw-r--r--templates/nav.html10
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 }}