forked from EatRadius/Edition-Radius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.hbs
25 lines (18 loc) · 780 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
{{!< default}}
<main class="site-main">
{{#if @custom.show_featured_posts}}
{{> "featured-posts"}}
{{/if}}
<header class="feed-header gh-canvas">
{{#if @custom.feed_title}}
<h2 class="header-title tc">{{@custom.feed_title}}</h2>
{{/if}}
</header>
<div class="post-feed{{#match @custom.feed_layout "!=" "Minimal"}} expanded{{/match}}{{#match @custom.feed_layout "Right thumbnail"}} right-thumbnail{{/match}}{{#match @custom.feed_layout "Text-only"}} text-only{{/match}} gh-feed gh-canvas">
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
</div>
{{pagination}}
</main>
{{#contentFor "body_class"}} with-full-cover half-cover no-cover-image{{#if @member}} logged-in{{/if}}{{/contentFor}}