39 lines
1020 B
Handlebars
39 lines
1020 B
Handlebars
{{!< default}}
|
|
|
|
{{#post}}
|
|
<article class="{{post_class}}">
|
|
|
|
<header class="gh-header gh-canvas">
|
|
<span class="gh-post-meta"><time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMM YYYY"}}</time> <span class="bull">•</span> {{reading_time}}</span>
|
|
<h1 class="gh-title">{{title}}</h1>
|
|
|
|
{{#if custom_excerpt}}
|
|
<p class="gh-excerpt">{{custom_excerpt}}</p>
|
|
{{/if}}
|
|
|
|
{{#if feature_image}}
|
|
<img class="gh-feature-image" src="{{feature_image}}" alt="{{title}}" />
|
|
{{/if}}
|
|
</header>
|
|
|
|
<div class="gh-content gh-canvas">
|
|
{{content}}
|
|
</div>
|
|
|
|
<footer class="gh-footer gh-canvas">
|
|
|
|
<div class="gh-post-authors">
|
|
Written by {{#foreach authors}}<a href="{{url}}">{{name}}</a>{{/foreach}}
|
|
</div>
|
|
|
|
{{!--
|
|
<section class="gh-post-comments">
|
|
If you want to embed comments, this is a good place to do it!
|
|
</section>
|
|
--}}
|
|
|
|
</footer>
|
|
|
|
</article>
|
|
{{/post}}
|