forked from godofredoninja/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
23 lines (16 loc) · 1.01 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
{{!< default}}
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
{{!-- custom Styles For tag <body> --}}
{{#contentFor "simply_class_body"}}is-frontpage{{/contentFor}}
<div class="feed-entry-content">
{{!--<header class="u-marginBottom30 u-fontSizeLarge u-fontWeightBold u-link u-contentTitle u-md-fontSizeBase">Most Recent Articles</header>--}}
<div class="feed-entry-wrap u-maxWidth1000 u-marginAuto u-marginTop30 u-marginBottom40" data-page="{{#is "paged"}}/page/{{pagination.page}}{{/is}}/">
{{!-- This is the post loop - each post will be output using this markup --}}
{{!-- <div class="row">{{#foreach posts}} {{>"entry"}} {{/foreach}} </div> --}}
<section class="row">
{{#foreach posts}} {{> "story-card" }} {{/foreach}}
</section>
</div>
</div>
{{!-- Pagination --}}
{{^is "paged"}}<a href="#" class="loadMore link--accent" data-page-total="{{pagination.pages}}">Load more</a>{{else}}{{"pagination"}}{{/is}}