Zap-Ghost-Theme/page.hbs
2020-07-15 00:30:37 +07:00

24 lines
No EOL
581 B
Handlebars

{{!< default}}
{{#post}}
<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}}
</section>
{{/post}}