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

10 lines
277 B
HTML

<div class="categories">
<i class="fas fa-folder"></i>
{{- range $index, $el := . -}}
{{- if gt $index 0 }}
<span class="separator"></span>
{{- end }}
<a href="{{ ( print "categories/" ( . | urlize ) ) | relLangURL }}">{{ . }}</a>
{{- end -}}
</div>