summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-12-01 21:18:02 +0800
committerEltrac <hi@guhub.cn>2025-12-01 21:18:02 +0800
commitc1099a9233aa4632729d9a6766a22353a196a034 (patch)
tree61adb1234b1e1c89ea663747de21eb666e03879d /layouts
parentf48c44cf176cc9ac61145cded892f817b4085319 (diff)
fix: invalid term page url in section categories component
Former-commit-id: 7ea54cf96d33bc0d1667a62bb88435725ad82c66
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_partials/section-categories.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/section-categories.html b/layouts/_partials/section-categories.html
index 5e92bcc3..40e6600e 100644
--- a/layouts/_partials/section-categories.html
+++ b/layouts/_partials/section-categories.html
@@ -9,7 +9,7 @@
<div class="flex gap-2 flex-wrap">
{{ range $categories }}
- <a href="/categories/{{ . }}/"
+ <a href="/categories/{{ . | urlize }}/"
class="text-size-lg px-3 py-2
transition-colors duration-300 rounded-xl hover:no-underline
bg-slate-2/50 dark:bg-neutral-800/50