aboutsummaryrefslogtreecommitdiff
path: root/layouts/blog/list.html
diff options
context:
space:
mode:
authorAriel Costas <94913521+arielcostas@users.noreply.github.com>2023-11-23 23:24:28 +0100
committerAriel Costas <94913521+arielcostas@users.noreply.github.com>2023-11-23 23:24:28 +0100
commitdca685c79b587d17e13c5da51ef67aa2e71b891c (patch)
treee826ad032cce0bebeeeb20859600de8e2e213cad /layouts/blog/list.html
Super basic start
Diffstat (limited to 'layouts/blog/list.html')
-rw-r--r--layouts/blog/list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
new file mode 100644
index 0000000..2cf4b0b
--- /dev/null
+++ b/layouts/blog/list.html
@@ -0,0 +1,11 @@
+{{ define "main" }}
+ {{- .Content }}
+
+ <ul>
+ {{ range .Pages.ByLastmod }}
+ <li>
+ <a href="{{ .Permalink }}">{{ .Page.Title }}</a>
+ </li>
+ {{ end }}
+ </ul>
+{{ end }}