hugo-theme-introduction/layouts/_default/terms.html
2018-07-24 00:04:56 +02:00

9 lines
354 B
HTML

{{ define "main" }}
<div class="container">
<div class="section tags-list">
{{- range $key, $value:= .Data.Terms -}}
<a class="tag-cloud" href="{{ "/" | absLangURL }}{{ $.Data.Plural | urlize }}/{{ $key | urlize }}">{{ $key }}&nbsp;({{ $value.Count }})</a>
{{- end -}}
</div>
</div>
{{ end }}