forked from godofredoninja/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-post-image.hbs
61 lines (49 loc) · 1.96 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
56
57
58
59
60
61
{{!-- 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 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}}
<header class="post-header u-container u-maxWidth740 u-paddingTop30 u-relative zindex3">
{{!-- Article Title --}}
<h1 class="post-title u-marginBottom20 u-fontSizeLargest u-md-fontSizeLarger">{{title}}</h1>
{{!-- Article Excerpt --}}
{{#if custom_excerpt}}<p class="post-excerpt u-marginBottom30 u-fontSize22">{{custom_excerpt}}</p>{{/if}}
{{> "helper/helper-author-meta"}}
</header>
</div>
<div class="post-wrap u-maxWidth1000 u-relative u-marginAuto">
{{!-- 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">
{{!-- Tags (category) --}}
{{> "article/article-tags"}}
<hr>
<div class="prev-next">
{{#prev_post}}
{{> "story/story-previous-next" storyTitle=(t "Previous article") class="u-marginBottom30"}}
{{/prev_post}}
{{#next_post}}
{{> "story/story-previous-next" storyTitle=(t "Next article") class=""}}
{{/next_post}}
</div>
<hr>
</footer>
</article>
{{/post}}
{{!-- Article related - partials/article/article-related.hbs --}}
{{> "article/article-related"}}
{{#post}}
{{!-- post Commets --}}
{{> "article/article-comments"}}
{{!-- Share Article - Facebook Twitter Whatsapp --}}
{{> "article/article-share-sticky"}}
{{/post}}