2020-07-25 07:27:18 +01:00
|
|
|
{{ define "main" }}
|
|
|
|
{{- if .Title }}
|
|
|
|
<header class="page-header">
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
</header>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
<ul class="terms-tags">
|
|
|
|
{{ $type := .Type }}
|
|
|
|
{{ range $key, $value := .Data.Terms.Alphabetical }}
|
|
|
|
{{ $name := .Name }}
|
|
|
|
{{ $count := .Count }}
|
|
|
|
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
|
|
|
<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>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
{{ end }}{{/* end main */}}
|