diff options
Diffstat (limited to 'layouts/term/term.html')
-rw-r--r-- | layouts/term/term.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/term/term.html b/layouts/term/term.html new file mode 100644 index 0000000..4b69ebe --- /dev/null +++ b/layouts/term/term.html @@ -0,0 +1,14 @@ +{{ define "main" -}} +<nav> + <p>{{ emojify ":link:" | safeHTML }} <a class="link" href="/" rel="noreferrer">Return to homepage</a></p> +</nav> +<main> + <h1>{{ .Type | singularize | humanize }} "{{ .Title }}"</h1> + <h2>Feeds</h2> + <p><a class="link" href="{{ print .RelPermalink "atom.xml" }}" rel="noreferrer"> {{ emojify ":link:" | safeHTML }} Atom Feed</a></p> + <h2>Journal Entries</h2> + {{- range .Data.Pages.ByPublishDate.Reverse }} + {{ partial "metadata.html" . -}} + {{- end -}} +</main> +{{- end }} |