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