2024-08-28 22:32:21 +00:00
|
|
|
|
|
|
|
<article>
|
|
|
|
<header class="headline">
|
|
|
|
</header>
|
|
|
|
|
2024-08-29 10:28:34 +00:00
|
|
|
{{- $title := partial "title.gotmpl" (dict "page" .) }}
|
2024-08-28 22:32:21 +00:00
|
|
|
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
|
|
|
|
{{- .Content }}
|
|
|
|
{{- $lastCapital := "" }}
|
2024-08-29 10:28:34 +00:00
|
|
|
{{- $pages := partialCached "partials/_relearn/pagesTaxonomy.gotmpl" . . }}
|
2024-08-28 22:32:21 +00:00
|
|
|
{{- range $pages }}
|
|
|
|
{{- $capital := substr .Title 0 1 | upper }}
|
|
|
|
{{- if ne $lastCapital $capital }}
|
|
|
|
{{- if ne $lastCapital "" }}
|
|
|
|
</ul>
|
|
|
|
{{- end }}
|
|
|
|
<h2 id="{{ $capital | plainify | anchorize }}">{{ $capital }}</h2>
|
|
|
|
<ul class="columnize">
|
|
|
|
{{- end }}
|
|
|
|
{{- /* display terms of a taxonomy */}}
|
2024-08-29 10:28:34 +00:00
|
|
|
<li><a href="{{ partial "permalink.gotmpl" (dict "to" .Page) }}">{{ .Title }}</a> ({{ .Count }})</li>
|
2024-08-28 22:32:21 +00:00
|
|
|
{{- $lastCapital = $capital }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if ne $lastCapital "" }}
|
|
|
|
</ul>
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
<footer class="footline">
|
|
|
|
</footer>
|
|
|
|
</article>
|