aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/taxonomy.gmi6
-rw-r--r--layouts/_default/taxonomy.html10
2 files changed, 16 insertions, 0 deletions
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" -}}
+<main>
+ <h1>All {{ .Type }}</h1>
+ <ul class="list">
+ {{- range .Data.Pages }}
+ <li class="list__item"><a class="link" href="{{ .RelPermalink }}" rel="noreferrer">{{ emojify ":link:" }} {{ .Title }}</a></li>
+ {{- end }}
+ </ul>
+</main>
+{{- end }}