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