hakyll-skeleton/templates/post.html
Fiscal Velvet Poet c28e591961
Initial commit
2021-11-04 19:23:31 +10:00

32 lines
541 B
HTML

<div class="post">
<h1 class="post-title">
<a href="$url$">
$title$
</a>
</h1>
<span class="post-date">$date$,
$if(author)$
Posted by $author$
$endif$
</span>
$body$
</div>
$if(related_posts)$
<div class="related">
<h2>Related posts</h2>
<ul class="related-posts">
$for(related_posts)$
<li>
<h3>
<a href="$url$">
$title$
<small>$date$</small>
</a>
</h3>
</li>
$endfor$
</ul>
</div>
$endif$