hugo-coder-fork/layouts/partials/taxonomy/categories.html

4 lines
186 B
HTML

{{- range $index, $el := . -}}
<a class="category" href="{{ ( printf "categories/%s/" ( . | urlize ) ) | relLangURL }}"><i class="icon fas fa-folder"></i>{{ . }}</a>
{{- end -}}