-
Notifications
You must be signed in to change notification settings - Fork 35
/
post.hbs
47 lines (40 loc) · 1.33 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
{{!< default}}
{{#post}}
<main class="site-main">
<article class="{{post_class}} single">
{{#if og_description}}
<div class="gh-outer">
{{> "player"}}
</div>
{{else}}
<header class="post-header gh-canvas">
{{> "post-meta"}}
<h1 class="post-title">{{title}}</h1>
{{> "feature-image"}}
</header>
{{/if}}
<div class="post-content gh-content gh-canvas">
{{content}}
</div>
<div class="gh-canvas">
<div class="author-list">
<h3 class="author-list-title">
{{#if og_description}}Hosted by:{{else}}Written by:{{/if}}
</h3>
{{#foreach authors}}
{{> "author-box"}}
{{/foreach}}
</div>
{{#if comments}}
<section class="gh-comments">
<header class="gh-comments-header">
<h3 class="gh-comments-title author-list-title">Member discussion:</h3>
{{comment_count class="gh-comments-count"}}
</header>
{{comments title="" count=false}}
</section>
{{/if}}
</div>
</article>
</main>
{{/post}}