aboutsummaryrefslogtreecommitdiff
path: root/templates/_header.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-01 22:29:23 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-01 22:46:55 +0800
commit3a1f109493d6a0e2aa5480c5db3e065108574f5a (patch)
treefc06e6667c4a7f7e4aa4d4267b080c1fd7d447b8 /templates/_header.tmpl
parentMore segments fixes (diff)
downloadforge-3a1f109493d6a0e2aa5480c5db3e065108574f5a.tar.gz
forge-3a1f109493d6a0e2aa5480c5db3e065108574f5a.tar.zst
forge-3a1f109493d6a0e2aa5480c5db3e065108574f5a.zip
Change /: in templates
Probably more nasty ones to come
Diffstat (limited to 'templates/_header.tmpl')
-rw-r--r--templates/_header.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/_header.tmpl b/templates/_header.tmpl
index f1222af..340a2ac 100644
--- a/templates/_header.tmpl
+++ b/templates/_header.tmpl
@@ -26,9 +26,9 @@
</nav>
<div id="main-header-user">
{{- if ne .user_id_string "" -}}
- <a href="/:/users/{{- .user_id_string -}}">{{- .username -}}</a>
+ <a href="/-/users/{{- .user_id_string -}}">{{- .username -}}</a>
{{- else -}}
- <a href="/:/login/">Login</a>
+ <a href="/-/login/">Login</a>
{{- end -}}
</div>
</header>