aboutsummaryrefslogtreecommitdiff
path: root/layouts/term/term.html
blob: 89d31b5b666bdcc8f88406bb8535d77d62cd2b5d02c405ac9524a5997b922dbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ define "main" -}}
<nav>
  <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="{{ .Site.Home.RelPermalink }}" rel="noreferrer">{{ i18n "returnHome" }}</a></p>
</nav>
<main>
  <h1>{{ .Type | singularize | humanize }} "{{ .Title }}"</h1>
  <h2>{{ i18n "feeds" }}</h2>
  <p><a class="link" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer"> {{ emojify ":link:" | safeHTML }} {{ i18n "atomFeed" }}</a></p>
  <h2>{{ i18n "journalEntries" }}</h2>
  {{- range .Data.Pages.ByPublishDate.Reverse }}
  {{ partial "metadata.html" . -}}
  {{- end -}}
</main>
{{- end }}