hugo-theme-minima/layouts/_default/terms.html

14 lines
348 B
HTML
Raw Normal View History

2021-07-18 10:34:01 +02:00
{{ define "main" }}
<main>
<h2>{{ .Title }}</h2>
<nav class="col">
{{ $data := .Data }}
{{ range $key, $value := .Data.Terms.ByCount }}
<a class="row as-s mb-1" href="/{{ $data.Plural }}/{{ $value.Name }}">
{{ $value.Name }}
2021-07-20 16:24:19 +02:00
<span class="tag-pm ml-1">{{ $value.Count }}</span>
2021-07-18 10:34:01 +02:00
</a>
{{ end }}
</nav>
</main>
{{ end }}