summaryrefslogtreecommitdiff
path: root/layouts/_default/term.gmi
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2023-02-24 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2023-02-24 00:00:00 +0000
commit4200dccb4372c7095e151803364c3f34eaa466327a2fc015a7a89065e4742b22 (patch)
tree05617722afe3cd4cca46d7c41ad22475523b3ff4392c152c9c9d26fee6ffab34 /layouts/_default/term.gmi
parent332dca70f6d89cba1f5b4813093ae8bb57cd08f3e25813f57fba251763514b9a (diff)
downloadhugo-theme-journal-4200dccb4372c7095e151803364c3f34eaa466327a2fc015a7a89065e4742b22.tar.gz
hugo-theme-journal-4200dccb4372c7095e151803364c3f34eaa466327a2fc015a7a89065e4742b22.zip
Implement terms
Diffstat (limited to 'layouts/_default/term.gmi')
-rw-r--r--layouts/_default/term.gmi9
1 files changed, 9 insertions, 0 deletions
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 }}