Welcome to mirror list, hosted at ThFree Co, Russian Federation.

terms.html « _default « layouts - github.com/VVelox/hugo-dusky-neon-potato.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d76e2151a9401bb7d6ca06479b0e75e7d47a260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ partial "header.html" . }}
{{ $baseurl := .Site.BaseURL | sanitizeurl }}
<section>
  <h2>{{ .Title }}</h2>
  <ul>
    {{ $data := .Data }}
    {{ range $key, $value := .Data.Terms }}
    <li><a href="{{ $baseurl }}/{{ $data.Plural }}/{{ $key | urlize }}">{{ $key }}</a> ({{ len $value }})</li>
    {{ end }}
  </ul>
</section>
{{ partial "footer.html" . }}