-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.hbs
36 lines (31 loc) · 1.01 KB
/
index.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{{!< default}}
<main id="container" role="main">
{{> header}}
{{> navigation}}
<section class="post-list">
{{#foreach posts}}
<article itemscope itemtype="http://schema.org/BlogPosting" role="article" class="{{post_class}}">
<header class="post-header">
<h2 itemprop="name" class="post-title">
<a href="{{url}}" itemprop="url">{{{title}}}</a>
</h2>
<div class="post-meta">
<time datetime="{{date format='YYYY-MM-DD'}}" itemprop="datePublished">{{date published_at format="MMMM DD, YYYY"}}</time>
{{#if tags}}
<span class="delimiter">•</span>
{{#tags}}
<span itemprop="keywords">{{name}}</span>{{#unless @last}}, {{/unless}}
{{/tags}}
{{/if}}
</div>
<hr>
</header>
<section itemprop="description" class="post-excerpt">
<p>{{excerpt}}…</p>
</section>
</article>
{{/foreach}}
{{pagination}}
</section>
{{> footer}}
</main>