about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-23 23:22:44 +0700
committerNgô Ngọc Đức Huy <huyngo@disroot.org>2024-04-23 23:22:44 +0700
commitf2d66f734a0ee2522f3816e47fd0905e2797a225 (patch)
tree182b337505782e97fe26aff9b85ef977c75d9fdf
parent1882a3e77359ec2cd07f938c975d26377897fd1e (diff)
downloadblog-f2d66f734a0ee2522f3816e47fd0905e2797a225.tar.gz
Try fixing params
-rw-r--r--layouts/partials/post-info.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post-info.html b/layouts/partials/post-info.html
index bb6e3c0..c358a44 100644
--- a/layouts/partials/post-info.html
+++ b/layouts/partials/post-info.html
@@ -11,7 +11,7 @@
         Categories:
         <ul class="post-categories">
             {{ range .Params.categories }}
-            <li><a href="{{ "categories/" | urlize | absLangURL }}">{{ . }}</a></li>
+            <li><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}">{{ . }}</a></li>
             {{ end }}
         </ul>
         {{ end }}