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

10 lines
277 B
HTML
Raw Normal View History

<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>