2020-07-25 08:27:18 +02:00
|
|
|
{{ define "main" }}
|
2020-09-23 09:22:32 +02:00
|
|
|
|
2020-07-25 08:27:18 +02:00
|
|
|
{{- if .Title }}
|
|
|
|
<header class="page-header">
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
</header>
|
2020-09-23 09:22:32 +02:00
|
|
|
{{- end }}
|
2020-07-25 08:27:18 +02:00
|
|
|
|
|
|
|
<ul class="terms-tags">
|
2020-09-23 09:22:32 +02:00
|
|
|
{{- $type := .Type }}
|
|
|
|
{{- range $key, $value := .Data.Terms.Alphabetical }}
|
|
|
|
{{- $name := .Name }}
|
|
|
|
{{- $count := .Count }}
|
|
|
|
{{- with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
2020-07-25 08:27:18 +02:00
|
|
|
<li>
|
2020-09-21 12:14:37 +02:00
|
|
|
<a href="{{ .Permalink }}">{{ .Name }} <sup><strong><sup>{{ $count }}</sup></strong></sup> </a>
|
2020-07-25 08:27:18 +02:00
|
|
|
</li>
|
2020-09-23 09:22:32 +02:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2020-07-25 08:27:18 +02:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{ end }}{{/* end main */}}
|