forked from hoist/hoist-ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
executable file
·29 lines (24 loc) · 971 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
{{!< default}}
<header>
<span><a href="{{@blog.url}}/">{{@blog.title}}</a></span>
</header>
{{! Each post will be output using this markup }}
{{#foreach posts}}
<article class="{{post_class}}">
<a href="{{url}}" class="Article-Link">
<h2 class="post-title">{{{title}}}</h2>
</a>
<section class="post-excerpt">
<p>{{excerpt characters="300"}}…</p>
</section>
<p>
<a href="{{url}}" class="continue-reading">
Continue Reading →
</a>
</p>
<span class="post-meta">
<img src="{{author.image}}" class="profileimage"> <a href="{{#author}}{{url}}{{/author}}">{{author.name}}</a> {{tags prefix="on "}} | <time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time>
</span>
</article>
{{/foreach}}
{{pagination}}