forked from godofredoninja/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-post-image.hbs
55 lines (42 loc) · 1.68 KB
/
custom-post-image.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
50
51
52
53
54
55
{{!-- Layout --}}
{{!< default}}
{{#post}}
{{!-- Class for <body> --}}
{{#contentFor "special_body_class"}}is-article is-image{{/contentFor}}
<article class="post u-marginBottom40 u-relative">
<div class="pif-wrap u-relative u-bgDark">
{{#if feature_image}}
{{!-- Featured Image - partials/helper/helper-image-cover.hbs --}}
{{> "helper/helper-image-cover"}}
{{!-- bg --}}
<div class="u-absolute0 zindex2 pif-grad"></div>
{{/if}}
{{!-- Article Header - paertials/article/article-header.hbs --}}
{{> "article/article-header"}}
</div>
<div class="post-wrap u-maxWidth1000 u-relative u-marginAuto">
{{!-- share sticky - partials/widget/share.hbs --}}
{{> "widget/share"}}
{{!-- All Content --}}
<div id="post-body" class="post-body u-container u-maxWidth740 u-relative">{{content}}</div>
</div>
<footer class="post-footer u-container u-maxWidth740 u-paddingTop20 u-paddingBottom20">
{{!-- Email subscribe form at the bottom of the page --}}
{{> "widget/subscribe"}}
{{!-- Tags (category) --}}
{{> "article/article-tags"}}
</footer>
</article>
{{/post}}
{{!-- Article related - partials/article/article-related.hbs --}}
{{> "article/article-related"}}
{{#post}}
{{!-- post Commets --}}
{{> "article/article-comments"}}
{{!-- Post Actions (next and prev post, share social media, cout share in facebook) --}}
{{> "article/post-action-sticky"}}
{{/post}}
{{!-- Ad - partials/ad/ad-article-footer.hbs --}}
{{> "ad/ad-article-footer"}}
{{!-- Instagram Feed - partials/widget/instagram-feed.hbs --}}
{{> "widget/instagram-feed"}}