aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/navbar.qtpl4
-rw-r--r--templates/navbar.qtpl.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/templates/navbar.qtpl b/templates/navbar.qtpl
index 3cd1b39..e24edd8 100644
--- a/templates/navbar.qtpl
+++ b/templates/navbar.qtpl
@@ -31,9 +31,9 @@ const (
</div>
<div class="navbar-nav ms-auto">
{% if IsLoggedIn(ctx) %}
- <a class="nav-link{%= insertIfEqual(s, Login) %}" href="/logout">logout</a>
+ <a class="nav-link{%= insertIfEqual(s, Login) %}" href="/logout/">logout</a>
{% else %}
- <a class="nav-link{%= insertIfEqual(s, Login) %}" href="/login">login</a>
+ <a class="nav-link{%= insertIfEqual(s, Login) %}" href="/login/">login</a>
{% endif %}
{% comment %}
Add this back once needed
diff --git a/templates/navbar.qtpl.go b/templates/navbar.qtpl.go
index d900c9c..b359ffb 100644
--- a/templates/navbar.qtpl.go
+++ b/templates/navbar.qtpl.go
@@ -101,7 +101,7 @@ func StreamNavbar(qw422016 *qt422016.Writer, ctx context.Context, s Selection) {
//line templates/navbar.qtpl:34
streaminsertIfEqual(qw422016, s, Login)
//line templates/navbar.qtpl:34
- qw422016.N().S(`" href="/logout">logout</a>
+ qw422016.N().S(`" href="/logout/">logout</a>
`)
//line templates/navbar.qtpl:35
} else {
@@ -111,7 +111,7 @@ func StreamNavbar(qw422016 *qt422016.Writer, ctx context.Context, s Selection) {
//line templates/navbar.qtpl:36
streaminsertIfEqual(qw422016, s, Login)
//line templates/navbar.qtpl:36
- qw422016.N().S(`" href="/login">login</a>
+ qw422016.N().S(`" href="/login/">login</a>
`)
//line templates/navbar.qtpl:37
}