Page template

This commit is contained in:
John O'Nolan 2020-07-15 00:30:37 +07:00
parent 45cf56185b
commit e202aaa93b

View file

@ -1,8 +1,24 @@
{{!< default}} {{!< default}}
{{#post}} {{#post}}
<content>
<header class="gh-header">
<h1>{{title}}</h1> <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}}
</content> </section>
{{/post}} {{/post}}