mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
21 lines
507 B
HTML
21 lines
507 B
HTML
|
{{ 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>
|
||
|
<a href="{{ .Permalink }}">{{ .Name }} <sup><b><sup>{{ $count }}</sup></b></sup> </a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
|
||
|
{{ end }}{{/* end main */}}
|