2023-05-19 07:04:44 +00:00
|
|
|
{{- partialCached "page-meta.hugo" . .RelPermalink }}
|
|
|
|
{{- partial "header.html" . }}
|
|
|
|
<article>
|
2023-05-19 18:44:19 +00:00
|
|
|
<header class="headline">
|
|
|
|
</header>
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- $page := . }}
|
|
|
|
|
|
|
|
{{- $title := i18n .Data.Plural }}
|
|
|
|
{{- if not $title }}
|
2023-06-18 09:13:33 +00:00
|
|
|
{{- $title = .Data.Plural }}
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- end }}
|
2023-09-30 19:45:39 +00:00
|
|
|
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
|
2023-05-19 07:54:14 +00:00
|
|
|
{{- $lastCapital := "" }}
|
|
|
|
{{- range .Data.Terms.Alphabetical }}
|
2023-10-28 22:17:25 +00:00
|
|
|
{{- $capital := substr .Page.Data.Term 0 1 | upper }}
|
2023-05-19 07:54:14 +00:00
|
|
|
{{- if ne $lastCapital $capital }}
|
|
|
|
{{- if ne $lastCapital "" }}
|
2023-05-19 10:59:06 +00:00
|
|
|
</ul>
|
2023-05-19 07:54:14 +00:00
|
|
|
{{- end }}
|
2023-09-30 19:45:39 +00:00
|
|
|
<h2 id="{{ $capital | plainify | anchorize }}">{{ $capital }}</h2>
|
2023-05-19 10:59:06 +00:00
|
|
|
<ul class="columnize">
|
2023-05-19 07:54:14 +00:00
|
|
|
{{- end }}
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- $c:=""}}{{/* display terms of a taxonomy */}}
|
|
|
|
{{- $len := 0 }}
|
|
|
|
{{- range .Pages }}
|
|
|
|
{{- $c:=""}}{{/* count pages of term */}}
|
2023-09-21 15:23:41 +00:00
|
|
|
{{- if and .Title .RelPermalink (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- $len = add $len 1 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if $len }}
|
2023-10-28 22:17:25 +00:00
|
|
|
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Page) }}">{{ (default .Page.Data.Term .Page.Title) }}{{ if and .Page.Title (ne .Page.Data.Term .Page.Title) }} ({{ .Page.Data.Term }}){{ end }}</a> ({{ $len }})</li>
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- end }}
|
2023-05-19 07:54:14 +00:00
|
|
|
{{- $lastCapital = $capital }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if ne $lastCapital "" }}
|
2023-05-19 10:59:06 +00:00
|
|
|
</ul>
|
2023-05-19 07:54:14 +00:00
|
|
|
{{- end }}
|
2023-05-19 07:04:44 +00:00
|
|
|
|
|
|
|
<footer class="footline">
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
{{- partial "footer.html" . }}
|