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

32 lines
655 B
HTML

<div class="posts">
$for(posts)$
<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>
$endfor$
</div>
<div class="pagination">
$if(previousPageNum)$
<a class="pagination-item newer" href="$previousPageUrl$">Newer</a>
$else$
<span class="pagination-item newer">Newer</span>
$endif$
$if(nextPageNum)$
<a class="pagination-item older" href="$nextPageUrl$">Older</a>
$else$
<span class="pagination-item older">Older</span>
$endif$
</div>