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