forked from godofredoninja/Mapache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.hbs
37 lines (27 loc) · 974 Bytes
/
home.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
33
34
35
36
37
{{!-- Layouts --}}
{{!< default}}
{{#contentFor "mapache_class_body"}}is-home {{^is "paged"}}is-pagination{{/is}}{{/contentFor}}
{{!-- Home Top Section --}}
<div class="hmCover u-marginAuto u-marginBottom30 u-clear cover--grid3">
{{#foreach posts from="1" to="3"}}
{{!-- Home Top Section -> 3 first Articles - partials/story/story-cover.hbs --}}
{{> "story/story-cover" }}
{{/foreach}}
</div>
{{!-- Ad --}}
{{> "ad/ad-home-top"}}
<section class="extreme-container story--grid">
<div class="row u-marginBottom40">
{{!-- Post Grid - 6 lates article --}}
{{#foreach posts from="4" to="9"}}
<div class="col s12 m6 l4">
{{!-- partiasl/story/story-grid.hbs --}}
{{> "story/story-grid" }}
</div>
{{/foreach}}
</div>
</section>
{{!-- show 4 articles - partials/home/home-story-list.hbs --}}
{{> "home/home-story-list"}}
{{!-- Ad --}}
{{> "ad/ad-home-footer"}}