diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl
index 62de2196f4367c47b805d6a25835a03fed55332c..18400b19faa99a904eecd35b103dce288b378cfb 100644
--- a/templates/navbar.qtpl
+++ b/templates/navbar.qtpl
@@ -54,7 +54,7 @@ <li class="nav-item">
<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 ad857f78a8c07825fa29201131580cfb30f6444b..e080785da7c19c0dee4de95c1e329e319d293957 100644
--- a/templates/navbar.qtpl.go
+++ b/templates/navbar.qtpl.go
@@ -186,7 +186,7 @@ qw422016.N().S(`" aria-current="page" href="/`)
//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`)