ghost-theme-sd.ai/post.hbs

37 lines
927 B
Handlebars
Raw Normal View History

2023-07-13 07:56:13 +01:00
{{!< default}}
{{!-- The tag above means: insert everything in this file into the body of the default.hbs template --}}
2023-07-13 07:56:13 +01:00
{{#post}}
<main class="gh-main">
<article class="gh-article {{post_class}}">
<header class="gh-article-header gh-canvas">
{{#if primary_tag}}
<a class="gh-article-tag" href="{{primary_tag.url}}">{{primary_tag.name}}</a>
{{/if}}
<h1 class="gh-article-title is-title">{{title}}</h1>
2023-07-13 07:56:13 +01:00
{{#if custom_excerpt}}
<p class="gh-article-excerpt is-body">{{custom_excerpt}}</p>
2023-07-13 07:56:13 +01:00
{{/if}}
{{> "feature-image"}}
</header>
<section class="gh-content gh-canvas is-body">
2023-07-13 07:56:13 +01:00
{{content}}
</section>
</article>
{{#if comments}}
<div class="gh-comments gh-canvas">
{{comments}}
</div>
{{/if}}
</main>
2023-07-13 09:45:44 +01:00
{{/post}}
{{> "recent-posts"}}