This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
caldwell-59/page.hbs
2024-10-27 12:29:14 +00:00

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>