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 }}
|
|
|
|
<h1 id="{{ $title | anchorize }}">{{ $title }}</h1>
|
2023-05-19 07:54:14 +00:00
|
|
|
{{- $lastCapital := "" }}
|
|
|
|
{{- range .Data.Terms.Alphabetical }}
|
|
|
|
{{- $capital := substr .Page.Title 0 1 | upper }}
|
|
|
|
{{- 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-05-19 10:59:06 +00:00
|
|
|
<h2 id="{{ $capital | anchorize }}">{{ $capital }}</h2>
|
|
|
|
<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 */}}
|
|
|
|
{{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
|
|
|
{{- $len = add $len 1 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if $len }}
|
2023-05-19 10:59:06 +00:00
|
|
|
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Page) }}">{{ .Page.Title }}</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" . }}
|