summaryrefslogtreecommitdiffstats
path: root/layouts/categories
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-07-25 21:35:13 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-07-25 21:35:13 +0100
commit2d368d7b3a87ae8907317dcf3dfc6d2c7abbceeb (patch)
treec9e7d85a21017fad2966bf66ed6b84f765be513a /layouts/categories
parent3e3c9854c5d0da75962fb077f840d4cb340fe544 (diff)
tweakage
Diffstat (limited to 'layouts/categories')
-rw-r--r--layouts/categories/list.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/categories/list.html b/layouts/categories/list.html
new file mode 100644
index 0000000..8336025
--- /dev/null
+++ b/layouts/categories/list.html
@@ -0,0 +1,14 @@
+{{ define "main" }}
+
+<main>
+ <div>
+ <h2>{{ .Title }}</h2>
+ <ul>
+ {{ range .Pages.ByTitle }}
+ <li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
+ {{ end }}
+ </ul>
+ </div>
+</main>
+
+{{ end }}