github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/layouts/_default/taxonomy.html (about)

     1  {{- partialCached "page-meta.hugo" . .RelPermalink }}
     2  {{- partial "header.html" . }}
     3            <article>
     4              <header class="headline">
     5              </header>
     6  {{- $page := . }}
     7  
     8  {{- $title := partial "pageHelper/title.hugo" (dict "page" .) }}
     9  <h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
    10  {{- .Content }}
    11  {{- $lastCapital := "" }}
    12  {{- $pages := partialCached "partials/pageHelper/taxonomyPages.html" . . }}
    13  {{- range $pages }}
    14    {{- $capital := substr .Title 0 1 | upper }}
    15    {{- if ne $lastCapital $capital }}
    16      {{- if ne $lastCapital "" }}
    17  </ul>
    18      {{- end }}
    19  <h2 id="{{ $capital | plainify | anchorize }}">{{ $capital }}</h2>
    20  <ul class="columnize">
    21    {{- end }}
    22    {{- $c:=""}}{{/* display terms of a taxonomy */}}
    23    <li><a href="{{ partial "relLangPrettyUglyURL.hugo" (dict "to" .Page) }}">{{ .Title }}</a> ({{ .Count }})</li>
    24    {{- $lastCapital = $capital }}
    25  {{- end }}
    26  {{- if ne $lastCapital "" }}
    27  </ul>
    28  {{- end }}
    29  
    30              <footer class="footline">
    31              </footer>
    32            </article>
    33  {{- partial "footer.html" . }}