forked from damianmuti/sticko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
34 lines (27 loc) · 944 Bytes
/
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
{{!< default}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
{{! The big featured header on the homepage, with the site logo and description }}
{{#foreach posts}}
<article class="post">
<header class="post-header">
<h1><a href="{{url}}" title="Read "{{title}}"">{{title}}</a></h1>
<!-- Post meta -->
{{> post-meta}}
</header>
<div class="post-content">
<p>{{excerpt}}…</p>
</div>
<a href="{{url}}" class="button button-default button-keep-reading" title="Read "{{title}}"">Keep reading →</a>
</article>
{{/foreach}}
{{!! After all the posts, we have the previous/next pagination links }}
{{#if pagination.prev}}
<hr>
{{pagination}}
{{else}}
{{#if pagination.next}}
<hr>
{{pagination}}
{{/if}}
{{/if}}