summaryrefslogtreecommitdiffstats
path: root/templates/nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nav.html')
-rw-r--r--templates/nav.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/nav.html b/templates/nav.html
index 7568f01..20dca50 100644
--- a/templates/nav.html
+++ b/templates/nav.html
@@ -1,9 +1,10 @@
{{ define "nav" }}
<nav>
<ul>
- <li>some
- <li>thing
- <li>here
+ <li><a href="/">all repos</a>
+ <li><a href="/{{ .name }}">{{ .name }}</a>
+ <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a>
+ <li><a href="/{{ .name }}/log/{{ .ref }}">log</a>
</ul>
</nav>
{{ end }}