2022-06-21 13:50:51 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<div class="terms">
|
|
|
|
<h1>{{ .Title }}</h1>
|
2023-04-26 15:50:25 +00:00
|
|
|
{{ with .Content }}
|
2023-06-09 22:27:17 +00:00
|
|
|
<div class="index-content">
|
|
|
|
{{ . }}
|
|
|
|
</div>
|
2023-04-26 15:50:25 +00:00
|
|
|
{{ end }}
|
2022-06-21 13:50:51 +00:00
|
|
|
<ul>
|
|
|
|
{{ $type := .Type }}
|
|
|
|
{{ range $key, $value := .Data.Terms.Alphabetical }}
|
|
|
|
{{ $name := .Name }}
|
|
|
|
{{ $count := .Count }}
|
|
|
|
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
|
|
|
<li>
|
2023-06-09 22:27:17 +00:00
|
|
|
<a class="terms-title" href="{{ .Permalink }}">{{ .Name }} [{{ $count }}]</a>
|
2022-06-21 13:50:51 +00:00
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|