Zap-Ghost-Theme/post.hbs

27 lines
739 B
Handlebars
Raw Permalink Normal View History

2020-05-26 23:43:54 -07:00
{{!< default}}
{{#post}}
2020-05-27 00:09:49 -07:00
2020-07-14 08:34:03 -07:00
<header class="gh-header">
<h1>{{title}}</h1>
2020-07-14 10:22:04 -07:00
<div class="gh-post-meta">
{{primary_author.name}} - <time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM YYYY"}}</time>
</div>
{{#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}}
2020-07-14 08:34:03 -07:00
</header>
<section class="gh-content">
2020-05-27 00:06:36 -07:00
{{content}}
2020-07-14 08:34:03 -07:00
</section>
2020-05-27 00:09:49 -07:00
2020-05-26 23:43:54 -07:00
{{/post}}