From 4200dccb4372c7095e151803364c3f34eaa466327a2fc015a7a89065e4742b22 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 24 Feb 2023 00:00:00 +0000 Subject: Implement terms --- layouts/_default/term.gmi | 9 +++++++++ layouts/_default/term.html | 13 +++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 layouts/_default/term.gmi create mode 100644 layouts/_default/term.html diff --git a/layouts/_default/term.gmi b/layouts/_default/term.gmi new file mode 100644 index 0000000..8c47843 --- /dev/null +++ b/layouts/_default/term.gmi @@ -0,0 +1,9 @@ +{{ define "main" -}} +=> / {{ emojify ":link:" | safeHTML }} Return to homepage + + +# All entries for {{ .Type | singularize | safeHTML }} "{{ .Title | safeHTML }}" +{{ range .Data.Pages }} +=> {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} +{{- end }} +{{- end }} diff --git a/layouts/_default/term.html b/layouts/_default/term.html new file mode 100644 index 0000000..0f1defc --- /dev/null +++ b/layouts/_default/term.html @@ -0,0 +1,13 @@ +{{ define "main" -}} + +
+

All entries for {{ .Type | singularize }} "{{ .Title }}"

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