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

7 lines
251 B
HTML

{{- range $index, $el := . -}}
<a class="meta-tag meta-tag--link" href="{{ ( printf "categories/%s/" ( . | urlize ) ) | relLangURL }}">
<span class="icon svg-icon">{{ partial "svg/folder.svg" }}</span>
{{ . }}
</a>
{{- end -}}