2021-07-18 10:34:01 +02:00
|
|
|
{{ define "main" }}
|
|
|
|
<main>
|
|
|
|
<h2>{{ .Title }}</h2>
|
2021-08-29 17:55:45 +02:00
|
|
|
<nav class="flex flex-col">
|
2021-09-11 06:07:03 +02:00
|
|
|
{{ $data := .Data }}
|
|
|
|
{{ range $key, $value := .Data.Terms.ByCount }}
|
|
|
|
<div class="mb-5 flex justify-between">
|
|
|
|
<a class="self-start" href="/{{ $data.Plural }}/{{ $value.Name }}">
|
|
|
|
{{ $value.Name }}
|
|
|
|
</a>
|
2021-08-29 17:55:45 +02:00
|
|
|
<span class="">{{ $value.Count }}</span>
|
2021-09-11 06:07:03 +02:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2021-07-18 10:34:01 +02:00
|
|
|
</nav>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|