23 lines
558 B
HTML
23 lines
558 B
HTML
{{ define "main" }}
|
|
<div class="terms">
|
|
<h1>{{ .Title }}</h1>
|
|
{{ with .Content }}
|
|
<div class="index-content">
|
|
{{ . }}
|
|
</div>
|
|
{{ end }}
|
|
<ul>
|
|
{{ $type := .Type }}
|
|
{{ range $key, $value := .Data.Terms.Alphabetical }}
|
|
{{ $name := .Name }}
|
|
{{ $count := .Count }}
|
|
{{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
|
|
<li>
|
|
<a class="terms-title" href="{{ .Permalink }}">{{ .Name }} [{{ $count }}]</a>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
{{ end }}
|