diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-07-25 21:35:13 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-07-25 21:35:13 +0100 |
commit | 2d368d7b3a87ae8907317dcf3dfc6d2c7abbceeb (patch) | |
tree | c9e7d85a21017fad2966bf66ed6b84f765be513a /layouts/categories | |
parent | 3e3c9854c5d0da75962fb077f840d4cb340fe544 (diff) |
tweakage
Diffstat (limited to 'layouts/categories')
-rw-r--r-- | layouts/categories/list.html | 14 |
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 }} |