forked from zutrinken/attila
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.hbs
40 lines (32 loc) · 922 Bytes
/
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
36
37
38
39
40
{{!< default}}
{{#post}}
<header class="post-header {{#if feature_image}} has-cover {{/if}}">
<div class="inner">
<h1 class="post-title">{{{title}}}</h1>
{{#if feature_image}}
<div class="post-cover cover">
<img
data-srcset="{{img_url feature_image size="s"}} 320w,
{{img_url feature_image size="m"}} 640w,
{{img_url feature_image size="l"}} 960w,
{{img_url feature_image size="xl"}} 1920w"
data-src="{{img_url feature_image size="xl"}}"
class="lazyload"
alt="{{title}}" />
</div>
{{/if}}
</div>
</header>
<main class="content" role="main">
<article class="{{post_class}}">
<div class="inner">
<section class="post-content">
{{content}}
</section>
</div>
</article>
</main>
{{/post}}
{{!-- The #contentFor helper here will send everything inside it up to the matching #block helper found in default.hbs --}}
{{#contentFor "scripts"}}
{{/contentFor}}