summaryrefslogtreecommitdiff
path: root/layouts/term/term.html
blob: 4841673a0fdff2b324abf8cf39a2f512f337fa45744431c1f8bdd22aa662addc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{{ define "main" -}}
<nav>
  <p>{{ emojify ":link:" | safeHTML }}&nbsp;<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 }}&nbsp;{{ i18n "atomFeed" }}</a></p>
  <h2>{{ i18n "journalEntries" }}</h2>
  {{- range .Data.Pages.ByPublishDate.Reverse }}
  {{ partial "metadata.html" . -}}
  {{- end -}}
</main>
{{- end }}