summaryrefslogtreecommitdiff
path: root/themes/markskitchen/layouts/_default/list.html
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2022-07-19 21:12:41 -0500
committerMark Powers <mark@marks.kitchen>2022-07-19 21:12:41 -0500
commit4e965c7d9a66d6a72b24c7b319c10d8006f2026e (patch)
tree4021ef67be5ed3a76e0632c3cfec5d6428806850 /themes/markskitchen/layouts/_default/list.html
Initial Commit
Diffstat (limited to 'themes/markskitchen/layouts/_default/list.html')
-rw-r--r--themes/markskitchen/layouts/_default/list.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/themes/markskitchen/layouts/_default/list.html b/themes/markskitchen/layouts/_default/list.html
new file mode 100644
index 0000000..9388e7d
--- /dev/null
+++ b/themes/markskitchen/layouts/_default/list.html
@@ -0,0 +1,15 @@
+{{ define "head" }}
+<link rel="stylesheet" href='{{ "css/list.css" | absURL }}'>
+{{ end }}
+
+{{ define "main" }}
+<main id="main">
+ <ul>
+ {{ range .Pages }}
+ <li>
+ <a class="link" href="{{ .RelPermalink }}">{{ .Title }} --- <i>{{ .PublishDate.Format "January 2, 2006"}}</i></a>
+ </li>
+ {{ end }}
+ </ul>
+</main>
+{{ end }}