2020-07-25 02:27:18 -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>
|
|
|
|
</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>
|
|
|
|
|
|
|
|
{{ end }}{{/* end main */}}
|