From b5c3919fe891a965b0051b0ea10f3121d049b34080165f95b92a65e739526c5c Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sat, 25 Feb 2023 00:00:00 +0000 Subject: Organize layouts --- layouts/taxonomy/taxonomy.gmi | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 layouts/taxonomy/taxonomy.gmi (limited to 'layouts/taxonomy/taxonomy.gmi') diff --git a/layouts/taxonomy/taxonomy.gmi b/layouts/taxonomy/taxonomy.gmi new file mode 100644 index 0000000..56b53a9 --- /dev/null +++ b/layouts/taxonomy/taxonomy.gmi @@ -0,0 +1,13 @@ +{{ define "main" -}} +=> / {{ emojify ":link:" | safeHTML }} Return to homepage + + +# {{ .Type | humanize }} +## Feeds +=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "atom.xml" | safeHTML }} {{ emojify ":link:" | safeHTML }} Atom Feed + +## List +{{- range .Data.Pages }} +=> {{ .RelPermalink | replaceRE `(?m)index.gmi$` "" }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} +{{- end }} +{{- end }} -- cgit v1.2.3