forked from DexOfTheWild/Aventurine-Ghost-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpost.hbs
39 lines (37 loc) · 1.6 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
{{!< default}}
{{#post}}
<section id="main" class="container">
<div class="row uniform">
<aside class="author-box 4u 12u$(3)">
<div class="post-author">
{{#if author.image}}
<div class="author-image">
<img src="{{author.image}}" />
</div>
{{/if}}
<div class="author-bio">
<header>
<h2>{{author.name}}</h2>
{{#if author.website}}<p><a href="{{author.website}}">{{author.website}}</a></p>{{/if}}
</header>
<p>{{author.bio}}</p>
{{>social-icons}}
</div>
</div>
</aside>
<article class="{{post_class}} single 8u 12u$(3) important(3)">
<div class="post-container">
<header class="post-header">
<h1 class="post-title {{#if featured}}post-featured{{/if}}"><a href="{{url}}">{{title}}</a></h1>
<p class="post-meta">by {{author}} on <time class="blog-date" datetime="{{date format='MMMM DD, YYYY'}}">{{date format="MMMM DD, YYYY"}}</time></p>
{{#if image}}<a href="{{url}}" class="feature-image"><img src="{{image}}" /></a>{{/if}}
</header>
<section class="post-content">{{content}}</section>
</div>
<div class="comment-area">
{{>comment-box}}
</div>
</article>
</div>
</section>
{{/post}}