hugo-theme-introduction/layouts/_default/terms.html
2018-07-26 23:03:06 +02:00

9 lines
353 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 }}