diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-12-11 17:21:27 +0100 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-12-11 17:21:27 +0100 |
commit | 57efc8d2173fdff1ef99157a2633d3f1d366a290 (patch) | |
tree | a68de14d0690a495c7641c6ef236be012b327ac9 /templates/navbar.qtpl | |
parent | f5c307668c7fa3c367defc6e924d7c1e00303c16 (diff) | |
download | cerrado-57efc8d2173fdff1ef99157a2633d3f1d366a290.tar.gz cerrado-57efc8d2173fdff1ef99157a2633d3f1d366a290.tar.bz2 cerrado-57efc8d2173fdff1ef99157a2633d3f1d366a290.zip |
fix: Add leading slash to avoid redirect
Diffstat (limited to 'templates/navbar.qtpl')
-rw-r--r-- | templates/navbar.qtpl | 4 |
1 files changed, 2 insertions, 2 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 |