Page template
This commit is contained in:
parent
45cf56185b
commit
e202aaa93b
1 changed files with 18 additions and 2 deletions
20
page.hbs
20
page.hbs
|
@ -1,8 +1,24 @@
|
|||
{{!< default}}
|
||||
|
||||
{{#post}}
|
||||
<content>
|
||||
|
||||
<header class="gh-header">
|
||||
<h1>{{title}}</h1>
|
||||
{{#if feature_image}}
|
||||
<img class="gh-feature-image"
|
||||
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="(min-width: 2000px) 2000px"
|
||||
src="{{img_url feature_image size="xl"}}"
|
||||
alt="{{title}}"
|
||||
/>
|
||||
{{/if}}
|
||||
</header>
|
||||
|
||||
<section class="gh-content">
|
||||
{{content}}
|
||||
</content>
|
||||
</section>
|
||||
|
||||
{{/post}}
|
Loading…
Reference in a new issue