From f02f6b0db09299666d78ae21243b7e919a275edb95458f33404c9eaff3aa92be Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 24 Feb 2023 00:00:00 +0000 Subject: Implement taxonomies --- layouts/_default/taxonomy.gmi | 6 ++++++ layouts/_default/taxonomy.html | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 layouts/_default/taxonomy.gmi create mode 100644 layouts/_default/taxonomy.html (limited to 'layouts/_default') diff --git a/layouts/_default/taxonomy.gmi b/layouts/_default/taxonomy.gmi new file mode 100644 index 0000000..f0a4b63 --- /dev/null +++ b/layouts/_default/taxonomy.gmi @@ -0,0 +1,6 @@ +{{ define "main" -}} +# All {{ .Type }} + {{- range .Data.Pages }} +=> {{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title }} + {{- end }} +{{- end }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html new file mode 100644 index 0000000..28147b9 --- /dev/null +++ b/layouts/_default/taxonomy.html @@ -0,0 +1,10 @@ +{{ define "main" -}} +
+

All {{ .Type }}

+ +
+{{- end }} -- cgit v1.2.3