forked from JonathanSpeek/spacegrid_ghost_theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
executable file
·28 lines (26 loc) · 1.27 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
{{!< default}}
<div class="row" id="main">
<div align="center" class="space-1">
<img src="{{@blog.logo}}"/>
<h1 class="blog-main-title">{{@blog.title}}</h1>
<h3 class="blog-description">{ {{@blog.description}} }</h3>
<div class="blog-body">
{{#foreach posts}}
<article id="{{id}}" class="{{post_class}}">
<div align="center">
{{#if image}}
<a href="{{url}}"><img class="blog-main-photo" src="{{image}}"/></a>
{{/if}}
<time class="blog-subtitle" datetime="{{date format="YYYY-MM-DD"}}">{{date published_at
format='Do MMMM YYYY'}}</time>
/ {{#author}}<span class="blog-subtitle"><a href="{{url}}">{{name}}</a></span>{{/author}}
<h2 class="blog-title"><a href="{{url}}" title="{{title}}">{{title}}</a></h2>
</div>
<p class="post-description">{{excerpt characters='140'}} <a href="{{url}}">[...]</a></p>
</article>
<hr>
{{/foreach}}
</div>
{{pagination}}
</div>
</div>