summaryrefslogtreecommitdiffstats
path: root/templates/nav.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 20:53:44 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 20:53:44 +0530
commit7d99afc5cd3ddfc7a875754f4593812b8c2664c8 (patch)
tree3aacd1f8f1b45e38f4d378d1df8eeb13f7e213ba /templates/nav.html
parentf04137f841de6fefe4c79fedeb718b252a3b2958 (diff)
downloadlegit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.tar.gz
legit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.tar.bz2
legit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.zip
templates: fix 404 and 500
Diffstat (limited to '')
-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 }}