aboutsummaryrefslogtreecommitdiff
path: root/layouts/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/single.html')
-rw-r--r--layouts/single.html16
1 files changed, 12 insertions, 4 deletions
diff --git a/layouts/single.html b/layouts/single.html
index 4a8a12f..971b664 100644
--- a/layouts/single.html
+++ b/layouts/single.html
@@ -1,8 +1,16 @@
-<extend template="main.html">
+<extend template="main.html"/>
<div id="main">
<div class="article-meta">
- <h1><span class="title" var=$page.title></span></h1>
+ <h1><span class="title" var="$page.title"></span></h1>
</div>
+
<main var="$page.content"></main>
-</div>
-<extend> \ No newline at end of file
+
+ <footer>
+ <div class="article-meta">
+ <span class="author">Author <span var="$page.author"></span></span><br/>
+ <span>Updated <span class="date" var="$page.date.format('2006/01/02')"></span></span><br/>
+ </div>
+ </footer>
+
+</div> \ No newline at end of file