Add a missing slash in the category URLs (#38)

Fix #37
This commit is contained in:
Mikhail Morfikov 2020-09-16 20:27:39 +00:00 committed by GitHub
parent 0b07776836
commit af225d5c9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@
<span class="entry__meta-categories meta-categories">
<span class="meta-categories__list">{{ T "meta_categories" }}:
{{- range $index, $category := .Params.categories }}{{ if gt $index 0 }}, {{ end }}
<a class="meta-categories__link" href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}" rel="category">
<a class="meta-categories__link" href="{{ "categories/" | relLangURL }}{{ . | urlize | lower }}/" rel="category">
{{- . -}}
</a>
{{- end }}