about summary refs log tree commit diff stats
path: root/templates/tags.templ
diff options
context:
space:
mode:
authorAlan Pearce2025-01-26 14:38:13 +0100
committerAlan Pearce2025-01-26 14:38:13 +0100
commitabea3d93a675f0689d4a8833825546d7ac01942a (patch)
treef175b00bd57507a7b7ca7f6e7018945d4124e01a /templates/tags.templ
parent88932b8dc1d2a73195dcb1a9c4b82e15acd908c4 (diff)
downloadwebsite-abea3d93a675f0689d4a8833825546d7ac01942a.tar.lz
website-abea3d93a675f0689d4a8833825546d7ac01942a.tar.zst
website-abea3d93a675f0689d4a8833825546d7ac01942a.zip
fix tags links HEAD main
Diffstat (limited to 'templates/tags.templ')
-rw-r--r--templates/tags.templ2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/tags.templ b/templates/tags.templ
index c872a0d..254f3d5 100644
--- a/templates/tags.templ
+++ b/templates/tags.templ
@@ -3,7 +3,7 @@ package templates
 import "go.alanpearce.eu/website/internal/config"
 
 templ tagLink(tag string, attrs templ.Attributes) {
-	<a { attrs... } href={ templ.SafeURL("/tags/" + tag) }>#{ tag }</a>
+	<a { attrs... } href={ templ.SafeURL("/tags/" + tag + "/") }>#{ tag }</a>
 }
 
 templ TagsPage(config *config.Config, title string, tags []string, path string) {