~bfiedler/website

ref: c8c88338860cfca78ab5a7b4563873ff00431b75 website/layouts/term/term.html -rw-r--r-- 721 bytes
c8c88338 — Ben Fiedler Do not generate RSS for taxonomies or taxonomyTerms 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{{ define "title" }}Posts tagged {{ .Title }}{{ end }}
{{ define "main" }}
{{ partial "header.html" (dict "context" . "IsDetailed" true "DisplayImage" true) }}
<main>
    <h1 class="list-title">{{ block "title" . }}{{ end }}</h1>
    <ol class="post-list">
        {{- range .Pages.ByPublishDate.Reverse }}
        <li>
            <article>
                <header>
                    <time class="post-time" datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "2006-01-02" }}</time>
                    <h1><a href="{{ .RelPermalink }}">{{ .Title }}</a></h1>
                </header>
            </article>
        </li>
        {{- end }}
    </ol>
</main>
{{ partial "footer.html" }}
{{ end }}