summaryrefslogtreecommitdiff
path: root/layouts/_default/term.html
blob: 8e935334caf57c7e55ba9d19cef5980bdd70c42b (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
30
31
32
33
34
35
36
{{ define "main" }}
    <article class="posts termlist-page">
      {{ partial "components/breadcrumbs.html" . }}

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

      <div id="term-list" class="posts-list">
          <ul>
          {{ range .Pages }}
            <li>
                <div class="row posts-line">
                    <div class="posts-date col-xs-2">
                    <time datetime="{{ .Date.Format "2006-01-02 15:04:05 MST" }}">{{ .Date.Format "06/01/02"}}</time>
                    </div>
                    <div class="posts-title col-xs-10">
                    <div class="row">
                        <div class="col-xs-12">
                        <a href="{{ .RelPermalink }}" data-umami-event="Click Post Link from Category Page">
                            {{ .Title }}{{ with .Params.subtitle }}:<span class="posts-subtitle">{{. }}</span>
                            {{ end }}
                        </a>
                        </div>
                    </div>
                    </div>
                </div>
            </li>
          {{ end }}
          </ul>
      </div>
    </article>
{{ end }}