2021-07-18 10:34:01 +02:00
|
|
|
{{ define "main" }}
|
2022-11-08 11:07:48 +01:00
|
|
|
<main class="container mx-auto">
|
2022-11-09 11:03:38 +01:00
|
|
|
<h2 class="text-3xl font-bold mb-3">{{ .Title }}</h2>
|
|
|
|
<ul class="list-disc">
|
|
|
|
{{ $data := .Data }}
|
|
|
|
{{ range $key, $value := $data.Terms.ByCount }}
|
|
|
|
<li>
|
|
|
|
<a class="text-lg" href="{{ $data.Plural | relLangURL }}/{{ $value.Name }}">{{ $value.Name }}</a>
|
|
|
|
<span class="text-sm font-semibold ml-1">{{ $value.Count }}</span>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2021-07-18 10:34:01 +02:00
|
|
|
</nav>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|