forked from godofredoninja/Mapache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-post-single.hbs
35 lines (27 loc) · 1.07 KB
/
custom-post-single.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
{{!-- Layout --}}
{{!< default }}
{{#contentFor "mapache_class_body"}}is-article-single{{/contentFor}}
{{!-- Ad --}}
{{> "ad/ad-post-header"}}
<div class="u-container u-maxWidth740 u-marginTop30">
{{!-- Title & Excerpt - partials/article/article-header.hbs --}}
{{> "article/article-header"}}
{{!-- Article Author - partials/article/article-author.hbs --}}
{{> "article/article-author"}}
</div>
{{#post}}
{{!-- Image post - Default Post --}}
{{#if feature_image}}
<figure class="post-image u-block u-marginAuto u-maxWidth1000">
<img src="{{feature_image}}" class="u-block u-marginAuto" alt="{{title}}" data-action="zoom"/>
</figure>
{{/if}}
{{/post}}
<section class="post u-maxWidth740 u-container u-marginAuto u-marginTop20 u-marginBottom40">
{{!-- Article Content - partials/article/article-body.hbs --}}
{{> "article/article-body"}}
</section>
{{!-- Comments partials/article/article-related.hbs --}}
{{> "article/article-related"}}
{{!-- Instagram partials/widget/widget-instagram.hbs --}}
{{> "widget/widget-instagram"}}