summaryrefslogtreecommitdiff
path: root/data/example/templates/post.html
diff options
context:
space:
mode:
authorElie GĂ©nard <elaye@users.noreply.github.com>2017-05-21 14:31:08 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2017-05-21 15:31:08 +0200
commit7ad569d9a02829941c6c528a5d7ec5d884727a92 (patch)
treefc4304e27714b4693722e03cd8df02c7c8ff3ba2 /data/example/templates/post.html
parent2577bd4bb267ba66141524000a235c000178ea72 (diff)
downloadhakyll-7ad569d9a02829941c6c528a5d7ec5d884727a92.tar.gz
Use semantic html in example
Diffstat (limited to 'data/example/templates/post.html')
-rw-r--r--data/example/templates/post.html19
1 files changed, 11 insertions, 8 deletions
diff --git a/data/example/templates/post.html b/data/example/templates/post.html
index bf0f826..732149b 100644
--- a/data/example/templates/post.html
+++ b/data/example/templates/post.html
@@ -1,8 +1,11 @@
-<div class="info">
- Posted on $date$
- $if(author)$
- by $author$
- $endif$
-</div>
-
-$body$
+<article>
+ <section class="header">
+ Posted on $date$
+ $if(author)$
+ by $author$
+ $endif$
+ </section>
+ <section>
+ $body$
+ </section>
+</article>