mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
20.56.2021 09892946542971c2d26185fc25907568ea0e2a7b
layouts/partials/taxonomy/categories.html
@@ -1,5 +1,7 @@
<span class="separator">
{{- range $index, $el := . -}}
    <a class="category" href="{{ ( printf "categories/%s/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
{{- end -}}
</span>
    {{- range $index, $el := . -}}
        {{- $category := replace . "#" "%23" -}}
        {{- $category = replace $category "." "%2e" -}}
        <a class="category" href="{{ ( printf "categories/%s/" ( $category | urlize ) ) | relLangURL }}">{{ . }}</a>
    {{- end -}}
</span>