c3re-website/themes/hugo-theme-flat/layouts/_default/taxonomy.html

14 lines
443 B
HTML

{{ define "main" }}
<section id="tags">
{{ $data := .Data }}
{{ range $key, $value := .Data.Terms.ByCount }}
{{ if $value.Name}}
<span class="tag">
<a href="{{ $value.Name | urlize }}">
{{ $value.Name }} <span>({{ $value.Count }})</span>
</a>
</span>
{{ end }}
{{ end }}
</section>
{{ end }}