diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-12 20:53:44 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-12 20:53:44 +0530 |
commit | 7d99afc5cd3ddfc7a875754f4593812b8c2664c8 (patch) | |
tree | 3aacd1f8f1b45e38f4d378d1df8eeb13f7e213ba /templates/nav.html | |
parent | f04137f841de6fefe4c79fedeb718b252a3b2958 (diff) | |
download | legit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.tar.gz legit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.tar.bz2 legit-7d99afc5cd3ddfc7a875754f4593812b8c2664c8.zip |
templates: fix 404 and 500
Diffstat (limited to '')
-rw-r--r-- | templates/nav.html | 7 |
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 }} |