-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhome.hbs
49 lines (41 loc) · 1.54 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
{{!-- Layouts --}}
{{!< default}}
{{#contentFor "mapache_class_body"}}is-home{{/contentFor}}
{{#contentFor "mapache_class_site_main"}}pb4{{/contentFor}}
{{!-- Home Top Section --}}
<div class="h-cover home-banner u-marginAuto u-marginBottom30 u-clear">
{{#get "posts" limit="all" filter="tag:ew-promoted-top"}}
{{#foreach posts visibility="all" from="1" to="3"}}
{{!-- Home Top Section -> 3 first Articles - partials/story/story-cover.hbs --}}
{{> "story/story-cover" }}
{{/foreach}}
{{/get}}
</div>
{{!-- Post Grid - 8 lates article --}}
<div class="extreme-container home-story-grid">
<div class="row u-marginBottom40">
{{#get "posts" limit="all" filter="tag:ew-promoted-bottom"}}
{{#foreach posts visibility="all" from="1" to="16"}}
<div class="col col-s12 s6 m4 l3">
{{!-- Story Grid - partiasl/story/story-grid.hbs --}}
{{> "story/story-grid" class='u-fontSize20'}}
</div>
{{/foreach}}
{{/get}}
</div>
</div>
{{!-- Post List - 4 latest articles --}}
<div class="extreme-container">
<div class="row">
<div class="col col-left story-feed">
<div class="story-feed-content">
{{#foreach posts visibility="all" from="12" to="16"}}
{{!-- Story List - partials/story/story-list.hbs --}}
{{> "story/story-list"}}
{{/foreach}}
</div>
</div>
{{!-- Sidebar - partials/sidebar.hbs --}}
{{> "sidebar"}}
</div>
</div>