Fixing wrong categories links below the post (just by analogy with tag links)

This commit is contained in:
Maksim Iakunin 2021-11-07 00:21:17 +03:00
parent 837417e19f
commit d8e840e0b7
No known key found for this signature in database
GPG Key ID: 629DE6EA48DAF1F4

View File

@ -16,7 +16,7 @@
{{ if .Params.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 }}