terms.html 421 B

123456789101112131415161718
  1. {{ partial "header.html" . }}
  2. <main id="content" role="main">
  3. <article class="tagindex">
  4. <header>
  5. <h1>{{ .Title }}</h1>
  6. </header>
  7. <ul class="postlist">
  8. {{ $data := .Data }}
  9. {{ range $key, $value := .Data.Terms }}
  10. <li><a class="reference listtitle" href="/{{ $data.Plural }}/{{ $key | urlize }}.html">{{ $key }}</a> ({{ len $value }})</li>
  11. {{ end }}
  12. </ul>
  13. </article>
  14. </main>
  15. {{ partial "footer.html" . }}