forked from godofredoninja/Paway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
35 lines (30 loc) · 1.13 KB
/
page.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
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{#post}}
<article class="page {{#unless feature_image}}not-img{{/unless}}">
<div class="page-wrap u-relative">
<header class="page-header relative u-flexContentCenter">
{{#if feature_image}}
<img class="page-img u-image u-absolute0"
srcset="{{img_url feature_image size="s"}} 300w,
{{img_url feature_image size="m"}} 600w,
{{img_url feature_image size="l"}} 1000w,
{{img_url feature_image size="xl"}} 2000w"
sizes="(max-width: 1000px) 400px, 700px"
src="{{img_url feature_image size="m"}}"
alt="{{title}}"
/>
{{/if}}
<h1 class="page-title u-relative zindex3">{{title}}</h1>
</header>
</div>
<div class="container">
<div class="post-wrap">
<div id="post-body" class="post-body u-margin-0-15">
{{content}}
</div>
</div>
</div>
</article>
{{/post}}