34 lines
789 B
Handlebars
34 lines
789 B
Handlebars
{{!< default}} <main id="gh-main" class="gh-main">
|
|
|
|
{{#post}}
|
|
|
|
<article class="gh-article {{post_class}}">
|
|
|
|
{{#match @page.show_title_and_feature_image}}
|
|
<header class="gh-article-header gh-canvas">
|
|
{{#match @custom.mode "Image-based"}}
|
|
{{> common/feature-image}}
|
|
{{/match}}
|
|
|
|
<h1 class="gh-article-title">{{title}}</h1>
|
|
|
|
{{#if custom_excerpt}}
|
|
<p class="gh-article-excerpt">{{custom_excerpt}}</p>
|
|
{{/if}}
|
|
|
|
{{#match @custom.mode "Text-based"}}
|
|
{{> common/feature-image}}
|
|
{{/match}}
|
|
</header>
|
|
{{/match}}
|
|
|
|
<div class="gh-content gh-canvas">
|
|
{{content}}
|
|
</div>
|
|
|
|
</article>
|
|
|
|
{{/post}}
|
|
|
|
</main>
|