aboutsummaryrefslogtreecommitdiff
path: root/layouts/list.shtml
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-08-10 20:19:17 +0100
committerMartin Ashby <martin@ashbysoft.com>2024-08-10 20:19:17 +0100
commite05f4b47ecd0cb0dac273afc420b51768bedcc5e (patch)
tree5d6dac85388af71e30a032670f3b9622e6535604 /layouts/list.shtml
parent8a0464bcf2582084bd765f67de6f283545af2c7d (diff)
downloadmfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.gz
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.bz2
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.xz
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.zip
Migrate to zine 0.3.0
Diffstat (limited to 'layouts/list.shtml')
-rw-r--r--layouts/list.shtml11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/list.shtml b/layouts/list.shtml
new file mode 100644
index 0000000..758dc09
--- /dev/null
+++ b/layouts/list.shtml
@@ -0,0 +1,11 @@
+<extend template="main.shtml">
+<div id="main">
+ <h1 var="$page.title"></h1>
+ <p var="$page.content"></p>
+ <ul loop="$page.subpages()">
+ <li>
+ <span class="date" var="$loop.it.date.format('2006/01/02')"></span>
+ <a href="$loop.it.link()" var="$loop.it.title"></a>
+ </li>
+ </ul>
+</div> \ No newline at end of file