forked from TryGhost/Edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
29 lines (25 loc) · 1.06 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
28
29
{{!< default}}
<div class="content-area">
<main class="site-main">
<header class="feed-header container medium">
{{#if @custom.feed_title}}
<div class="feed-header-wrapper">
<h2 class="feed-header-title">{{@custom.feed_title}}</h2>
</div>
{{/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}} container medium">
{{^unless @member}}
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
{{else}}
{{#foreach posts}}
{{> "loop"}}
{{/foreach}}
{{/unless}}
</div>
{{pagination}}
</main>
</div>
{{#contentFor "body_class"}}{{#if next}} paged-next{{/if}}{{#if @site.cover_image}} with-full-cover{{/if}}{{#if @member}} logged-in{{/if}}{{/contentFor}}