diff options
Diffstat (limited to 'data/example/templates')
-rw-r--r-- | data/example/templates/default.html | 18 | ||||
-rw-r--r-- | data/example/templates/post.html | 19 |
2 files changed, 20 insertions, 17 deletions
diff --git a/data/example/templates/default.html b/data/example/templates/default.html index c3dd400..e91badc 100644 --- a/data/example/templates/default.html +++ b/data/example/templates/default.html @@ -8,26 +8,26 @@ <link rel="stylesheet" href="/css/default.css" /> </head> <body> - <div id="header"> - <div id="logo"> + <header> + <div class="logo"> <a href="/">My Hakyll Blog</a> </div> - <div id="navigation"> + <nav> <a href="/">Home</a> <a href="/about.html">About</a> <a href="/contact.html">Contact</a> <a href="/archive.html">Archive</a> - </div> - </div> + </nav> + </header> - <div id="content"> + <main role="main"> <h1>$title$</h1> $body$ - </div> + </main> - <div id="footer"> + <footer> Site proudly generated by <a href="http://jaspervdj.be/hakyll">Hakyll</a> - </div> + </footer> </body> </html> 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> |