blog/templates/index.html

53 lines
1.3 KiB
HTML
Raw Normal View History

2016-05-21 09:42:57 +00:00
<!DOCTYPE html>
2017-09-02 11:57:09 +00:00
<html lang="en">
2016-05-21 09:42:57 +00:00
{{>head title="Blog" summary=site.description}}
2016-05-21 09:42:57 +00:00
<body>
{{> header }}
<div class="container">
<div class="home">
{{#each pagination.files }}
<section class="post">
<h2 class="post-title">
<a class="post-link" href="/{{ this.path }}/">{{ this.title }}</a>
</h2>
<div class="post-meta feather_type">
<span>
<time datetime="{{moment this.date 'YYYY-MM-DD' }}">
{{moment this.date 'dddd, Do MMMM YYYY' }}
</time>
</span>
</div>
<div>
{{{ markdown this.summary }}}
<a href="/{{ this.path }}/"><small>Continue reading...</small></a>
</div>
<hr/>
</section>
{{/each}}
2016-05-21 09:42:57 +00:00
<div class="pagination">
{{#if pagination.previous}}
<a href="/{{pagination.previous.path}}">&larr; Newer Posts</a>
{{#if pagination.next}}
|
{{/if}}
{{/if}}
{{#if pagination.next}}
<a href="/{{pagination.next.path}}">Older Posts &rarr;</a>
{{/if}}
</div>
</div>
2017-06-03 10:55:30 +00:00
{{> footer }}
2016-05-21 09:42:57 +00:00
</div>
</body>
2020-11-10 18:32:40 +00:00
</html>