summaryrefslogtreecommitdiff
path: root/data/example
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-06-12 12:15:53 +0200
committerJasper Van der Jeugt <m@jaspervdj.be>2013-06-12 12:15:53 +0200
commita591b1622fe9608bc1dc485b74a54730c958bf4d (patch)
tree91eb3e9704eb4344fa409d4ffa389e2a2c083012 /data/example
parent2c2b9b21df068fdc19a8edc718145e8ab757eecc (diff)
downloadhakyll-a591b1622fe9608bc1dc485b74a54730c958bf4d.tar.gz
All ready for the 4.3 release!
Diffstat (limited to 'data/example')
-rw-r--r--data/example/posts/2012-10-07-rosa-rosa-rosam.markdown1
-rw-r--r--data/example/posts/2012-12-07-tu-quoque.markdown1
-rw-r--r--data/example/templates/post.html7
3 files changed, 8 insertions, 1 deletions
diff --git a/data/example/posts/2012-10-07-rosa-rosa-rosam.markdown b/data/example/posts/2012-10-07-rosa-rosa-rosam.markdown
index 01afcdb..bbda8fd 100644
--- a/data/example/posts/2012-10-07-rosa-rosa-rosam.markdown
+++ b/data/example/posts/2012-10-07-rosa-rosa-rosam.markdown
@@ -1,5 +1,6 @@
---
title: Rosa Rosa Rosam
+author: Ovidius
---
Suspendisse pharetra ullamcorper sem et auctor. Suspendisse vitae tellus eu
diff --git a/data/example/posts/2012-12-07-tu-quoque.markdown b/data/example/posts/2012-12-07-tu-quoque.markdown
index 16c12ec..bdf2ea4 100644
--- a/data/example/posts/2012-12-07-tu-quoque.markdown
+++ b/data/example/posts/2012-12-07-tu-quoque.markdown
@@ -1,5 +1,6 @@
---
title: Tu Quoque
+author: Julius
---
Vestibulum leo turpis, dignissim quis ultrices sit amet, iaculis ac ligula.
diff --git a/data/example/templates/post.html b/data/example/templates/post.html
index 4b39962..bf0f826 100644
--- a/data/example/templates/post.html
+++ b/data/example/templates/post.html
@@ -1,3 +1,8 @@
-<div class="info">Posted on $date$</div>
+<div class="info">
+ Posted on $date$
+ $if(author)$
+ by $author$
+ $endif$
+</div>
$body$