blog-rekahsoft-ca/templates/partials/post-teaser.html
Collin J. Doering d5f2f56ec4 Completed porting haml templates back to html
Removed all haml templates and returned to using the default hakyll
style html templates. The main reason for this was to avoid the
requirement for external tools that cannot be installed with cabal. Also
as much as haml is nicer to read and write (in my opinion) it is in this
case just adding another layer of needless abstraction.

Perhaps in the future haml-like functionality can be added to default
hakyll templates. Until then, follow the KISS mentality.

Signed-off-by: Collin J. Doering <collin.doering@rekahsoft.ca>
2015-01-14 04:50:29 -05:00

34 lines
703 B
HTML

<article class='post container'>
<header>
<h1 class='title'>
<a href='$url$'>$title$</a>
</h1>
<p class='info'>
Posted on
<span class='date'>$date$</span>
$if(author)$ by
<span class='author'>$author$</span>
$endif$
</p>
</header>
$if(teaser)$
$teaser$
$else$
$body$
$endif$
<footer>
<div class='container'>
<div class='eight columns alpha'>
$if(teaser)$
<a class='read-more' href='$url$'>Read More</a>
$else$
<span class='no-teaser'></span>
$endif$
</div>
<div class='eight columns omega'>
<p class='tags'>$tags$</p>
</div>
</div>
</footer>
</article>