summaryrefslogtreecommitdiff
path: root/layouts/_default/taxonomy.html
blob: 025a63d7dad8b047e4b8317a7971ed75918068d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{ define "main" }}
<article class="taxonomy">
  {{ partial "header.html" . }}
  {{ partial "components/postnav.html" . }}

  <!-- Display Tags -->
  <section class="taxonomy-tags">
    {{ range sort .Site.Taxonomies.tags "Count" "desc" }}
    <a href="{{ .Page.RelPermalink }}" class="taxonomy-tags-item">
        <span class="tag-name">#{{ .Page.LinkTitle }}</span>
        <span class="tag-count">{{ .Count }}</span>
    </a>
    {{ end }}
  </section>
</article>
{{ partial "footer.html" . }}
{{ end }}