forked from TryGhost/Headline
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
35 lines (25 loc) · 840 Bytes
/
post.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{{!< default}}
<main class="gh-main">
{{#post}}
<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">{{title}}</h1>
{{> "post-meta"}}
{{#if custom_excerpt}}
<p class="gh-article-excerpt">{{custom_excerpt}}</p>
{{/if}}
{{> "feature-image"}}
</header>
<section class="gh-content gh-canvas">
{{content}}
</section>
</article>
{{/post}}
{{> "related-posts"}}
{{#post}}
{{> "comments"}}
{{/post}}
</main>