aboutsummaryrefslogtreecommitdiff
path: root/layouts/list.shtml
diff options
context:
space:
mode:
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