2021-07-18 10:34:01 +02:00
|
|
|
{{ define "main" }}
|
2022-11-08 11:07:48 +01:00
|
|
|
<main class="container mx-auto">
|
|
|
|
<h2 class="text-3xl font-bold">{{ .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">
|
2022-11-05 15:45:26 +01:00
|
|
|
<a class="self-start" href="{{ $data.Plural | absLangURL }}/{{ $value.Name }}">
|
2021-09-11 06:07:03 +02:00
|
|
|
{{ $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 }}
|