forked from godofredoninja/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.hbs
23 lines (20 loc) · 795 Bytes
/
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
{{!-- Layout --}}
{{!< default}}
{{!-- Publication Cover - partials/home/publication-cover.hbs --}}
{{> "home/publication-cover"}}
{{!-- Feed Stories --}}
<div class="site-post container mx-auto py-vmin8">
<div class="js-feed-entry max-w-1100 mx-auto grid md:grid-cols-2 lg:grid-cols-12 gap-6">
{{#foreach posts}}
{{#has number="1"}}
{{> "story/story-grid" story_class="ss1 grid lg:col-span-full lg:grid-cols-3 gap-6"}}
{{else has number="5, 6"}}
{{> "story/story-grid" story_class="ss2 lg:col-span-6"}}
{{else}}
{{> "story/story-grid" story_class="lg:col-span-4"}}
{{/has}}
{{/foreach}}
</div>
{{!-- Pagination - partials/pagination.hbs --}}
{{pagination}}
</div>