aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2024-08-10 21:03:16 -0500
committerTimmy Keller <tjk@tjkeller.xyz>2024-08-10 21:03:16 -0500
commitf49d28caa3005c608eec9f8f82b1d9625ae37c01 (patch)
tree3538601cd4ac385e70517f6732290b09c806f936 /layouts/_default/list.html
downloadhugo-theme-tjkbasic-f49d28caa3005c608eec9f8f82b1d9625ae37c01.tar.xz
hugo-theme-tjkbasic-f49d28caa3005c608eec9f8f82b1d9625ae37c01.zip
initial commit
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..06b99a2
--- /dev/null
+++ b/layouts/_default/list.html
@@ -0,0 +1,11 @@
+{{ define "main" }}
+
+{{ .Content }}
+
+<ul>
+ {{ range .Pages.ByPublishDate.Reverse }}
+ <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
+ {{ end }}
+</ul>
+
+{{ end }}