summaryrefslogtreecommitdiff
path: root/layouts/term/term.html
blob: fa89acf835e874a10368d18a30f61cc817e1f6a52c6a7008e011376d20b22165 (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 }}