forked from oswaldoacauan/ghostium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
32 lines (27 loc) · 774 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
{{!< default}}
<aside role="banner" class="cover">
<div {{#if @blog.cover}}data-load-image="{{@blog.cover}}"{{/if}} class="cover-image"></div>
<div class="cover-container">
{{#if @blog.logo}}
<a href="{{@blog.url}}" class="cover-logo" data-pjax>
<img src="{{@blog.logo}}" alt="Blog Logo">
</a>
{{/if}}
<h1 class="cover-title">{{@blog.title}}</h1>
<p class="cover-description">{{@blog.description}}</p>
</div>
</aside>
<section class="wrapper">
<div class="wrapper-container">
{{> custom/featured this}}
<section class="post-list">
{{#foreach posts}}
{{> post/list this}}
{{/foreach}}
</section>
{{#if pagination}}
{{pagination}}
{{/if}}
{{> footer this}}
</div>
</section>