summaryrefslogtreecommitdiff
path: root/layouts/_default/term.html
blob: 7aac06467a044cb4fb8f3ff89aca36698bca0c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{{ define "main" }}
    <article class="posts termlist-page">
    {{ partial "components/post-page-header.html" . }}
      {{ partial "components/breadcrumbs.html" . }}

      {{ with .Params.description }}
        <div class="taxonomy-description markdown-body">
            {{ . | markdownify }}
            <hr />
        </div>
      {{ end }}

      <div class="term-list">
          <ul>
          {{ range .Pages }}
            <li>
                <a href="{{ .RelPermalink }}" data-umami-event="Click Post Link from Category Page">
                    {{ .Title }}{{ with .Params.subtitle }}:<span class="posts-subtitle">{{. }}</span>
                    {{ end }}
                </a>
                <time>
                    {{ .Date.Format "2006-1-2" }}
                </time>
            </li>
          {{ end }}
          </ul>
      </div>
    </article>
{{ end }}