forked from TryGhost/Edition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
31 lines (27 loc) · 1.11 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
30
31
{{!< default}}
<div class="content-area">
<main class="site-main">
<header class="feed-header container medium">
<div class="feed-header-wrapper">
<h2 class="feed-header-title">Latest</h2>
<div class="feed-layout expanded">
<button class="button-icon feed-layout-headline">{{> icons/list-headline}}</button>
<button class="button-icon feed-layout-expanded">{{> icons/list-bullet}}</button>
</div>
</div>
</header>
<div class="post-feed expanded 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}}{{#if @member}} with-alt-header{{else}} with-full-cover{{/if}}{{/if}}{{#if @member}} logged-in{{/if}}{{/contentFor}}