2021-03-30 14:37:36 +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>
|
2021-01-27 16:49:21 +01:00
|
|
|
{{- if .Description }}
|
|
|
|
<div class="post-description">
|
|
|
|
{{ .Description }}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
2020-07-25 08:27:18 +02:00
|
|
|
</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 }}
|
2022-03-27 15:14:06 +02:00
|
|
|
{{- 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>
|
|
|
|
|
2021-03-30 14:37:36 +02:00
|
|
|
{{- end }}{{/* end main */ -}}
|