paprika/theme/default/home.hbs

30 lines
1.1 KiB
Handlebars

<html lang="{{ blog.lang }}">
{{> head.hbs}}
<body>
{{> loading.hbs }}
<div class="page-wrapper">
{{> sidebar.hbs }}
<div class="post-list">
{{ #each posts }}
<article class="post with-divider with-divider-wide-center with-divider-thin">
<h1><a href="{{ this.url }}">{{ this.title }}</a></h1>
<span class="date">{{ format_date this.timestamp "%e %b, %Y" }}</span>
<section>
{{{ this.summary }}}
</section>
<a href="{{ this.url }}"><span class="read-more"></span></a>
</article>
{{ /each }}
<div class="pagination">
{{ #if next }}
<a href="{{ next }}"><span class="page-older"></span></a>
{{ /if }}
{{ #if prev }}
<a href="{{ prev }}"><span class="page-newer"></span></a>
{{ /if }}
</div>
</div>
</div>
{{> foot.hbs }}
</body>
</html>