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.Singular }}
|
|
|
|
{{- if not $title }}
|
2023-06-18 09:13:33 +00:00
|
|
|
{{- $title = .Data.Singular }}
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- end }}
|
2023-10-28 22:03:19 +00:00
|
|
|
{{- $title = printf "%s %s %s" $title (default "::" .Site.Params.titleSeparator) (default .Data.Term .Title) }}
|
2023-09-30 19:45:39 +00:00
|
|
|
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
|
2023-10-28 20:49:55 +00:00
|
|
|
{{- .Content }}
|
2023-10-29 22:10:41 +00:00
|
|
|
{{- $lastCapital := "" }}
|
|
|
|
{{- $pages := slice }}
|
|
|
|
{{- range .Pages }}
|
|
|
|
{{- if and .Title .RelPermalink (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableTagHiddenPages true) ) }}
|
|
|
|
{{- $pages = $pages | append (dict "Title" .Title "Page" . )}}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
{{- range sort $pages ".Title" }}
|
|
|
|
{{- $capital := substr .Title 0 1 | upper }}
|
|
|
|
{{- if ne $lastCapital $capital }}
|
|
|
|
{{- if ne $lastCapital "" }}
|
|
|
|
</ul>
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- end }}
|
2023-10-29 22:10:41 +00:00
|
|
|
<h2 id="{{ $capital | plainify | anchorize }}">{{ $capital }}</h2>
|
|
|
|
<ul class="columnize">
|
2023-05-19 07:04:44 +00:00
|
|
|
{{- end }}
|
2023-10-29 22:10:41 +00:00
|
|
|
{{- $c:=""}}{{/* display pages of a term */}}
|
|
|
|
<li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Page) }}">{{ .Title }}</a></li>
|
|
|
|
{{- $lastCapital = $capital }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if ne $lastCapital "" }}
|
2023-05-19 07:04:44 +00:00
|
|
|
</ul>
|
2023-10-29 22:10:41 +00:00
|
|
|
{{- end }}
|
2023-05-19 07:04:44 +00:00
|
|
|
|
|
|
|
<footer class="footline">
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
|
|
{{- partial "footer.html" . }}
|