2022-11-13 10:33:32 +00:00
|
|
|
{{- partialCached "page-meta.hugo" . .RelPermalink }}
|
2022-04-11 21:04:49 +00:00
|
|
|
{{- partial "header.html" . }}
|
2022-11-07 19:57:17 +00:00
|
|
|
<article>
|
2022-11-08 14:41:49 +00:00
|
|
|
{{- $page := . }}
|
2022-04-11 21:04:49 +00:00
|
|
|
|
|
|
|
<h1>{{ if eq .Kind "term" }}{{ .Data.Singular | humanize }} {{ default "::" .Site.Params.titleSeparator }} {{ end }}{{ .Title }}</h1>
|
|
|
|
<ul>
|
|
|
|
{{- range .Data.Terms.Alphabetical }}
|
2022-07-15 19:36:41 +00:00
|
|
|
{{- $len := 0 }}
|
|
|
|
{{- range .Pages }}
|
|
|
|
{{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
|
|
|
{{- $len = add $len 1 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if $len }}
|
2022-11-11 12:44:23 +00:00
|
|
|
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Page) }}">{{ .Page.Title }}</a> ({{ $len }})</li>
|
2022-04-11 21:04:49 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- else }}
|
|
|
|
{{- range sort .Pages "Title" }}
|
|
|
|
{{- if and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
2022-11-11 12:44:23 +00:00
|
|
|
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .) }}">{{ .Title }}</a></li>
|
2022-04-11 21:04:49 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<footer class="footline">
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
{{- partial "footer.html" . }}
|