diff options
| author | Eltrac <hi@guhub.cn> | 2025-12-01 21:18:02 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-12-01 21:18:02 +0800 |
| commit | 7ea54cf96d33bc0d1667a62bb88435725ad82c66 (patch) | |
| tree | b67d18806566be204edbfcff296fd41abb7d9bab | |
| parent | b945cf79b48202f7e06bde000d968bd11075318f (diff) | |
fix: invalid term page url in section categories component
| -rw-r--r-- | layouts/_partials/section-categories.html | 2 |
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 |
