Merge pull request #113 from iakunin/2021-11-07-wrong-categories-links

Fixing wrong categories links below the post
This commit is contained in:
Dmitry Kolosov 2021-11-07 15:48:10 +03:00 committed by GitHub
commit 8e5381f812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 }}