diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-28 16:03:06 +0100 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-28 16:03:06 +0100 |
commit | e6ded0d01117c592ec124f3e02d6c89eeafec382 (patch) | |
tree | 1208990d1bf334ad9ae857d98d571606f4047582 /templates | |
parent | 2e4b2fb52a539188b27212005d626f0849e78196 (diff) | |
download | cerrado-e6ded0d01117c592ec124f3e02d6c89eeafec382.tar.gz cerrado-e6ded0d01117c592ec124f3e02d6c89eeafec382.tar.bz2 cerrado-e6ded0d01117c592ec124f3e02d6c89eeafec382.zip |
This will prevent refs tabs from returning 301.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/navbar.qtpl | 2 | ||||
-rw-r--r-- | templates/navbar.qtpl.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl index 62de219..18400b1 100644 --- a/templates/navbar.qtpl +++ b/templates/navbar.qtpl @@ -54,7 +54,7 @@ Add this back if needed <a class="nav-link{%= insertIfEqual(s, Summary) %}" aria-current="page" href="/{%s name %}/">summary</a> </li> <li class="nav-item"> - <a class="nav-link{%= insertIfEqual(s, Refs) %}" aria-current="page" href="/{%s name %}/refs">refs</a> + <a class="nav-link{%= insertIfEqual(s, Refs) %}" aria-current="page" href="/{%s name %}/refs/">refs</a> </li> <li class="nav-item"> <a class="nav-link{%= insertIfEqual(s, Log) %}" aria-current="page" href="/{%s name %}/log/{%s ref %}/">log</a> diff --git a/templates/navbar.qtpl.go b/templates/navbar.qtpl.go index ad857f7..e080785 100644 --- a/templates/navbar.qtpl.go +++ b/templates/navbar.qtpl.go @@ -186,7 +186,7 @@ func StreamGitItemNav(qw422016 *qt422016.Writer, name, ref string, s GitSelectio //line templates/navbar.qtpl:57 qw422016.E().S(name) //line templates/navbar.qtpl:57 - qw422016.N().S(`/refs">refs</a> + qw422016.N().S(`/refs/">refs</a> </li> <li class="nav-item"> <a class="nav-link`) |