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

14 lines
443 B
HTML
Raw Permalink Normal View History

2023-12-13 22:55:13 +01:00
{{ 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 }}