forked from Kikobeats/uno-zen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
executable file
·41 lines (31 loc) · 1.34 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
{{!< default}}
{{#post}}
<article class="{{post_class}}">
<header>
<div class="post meta">
<time datetime="{{date format="DD MMM YYYY"}}">{{date format="DD MMM YYYY"}}</time>
<span class="post tags">{{tags prefix="in " separator=" "}}</span>
{{!-- <span class="post author">
<img src="{{author.image}}" class="rounded" alt="profile image for {{author.name}}"/> by {{author.name}}
</span> --}}
<span class="post reading-time"> ~ <span></span> read.</span>
</div>
<a alt="Tweet '{{title}}'" href="https://twitter.com/intent/tweet?text={{encode title}}{{encode ' »'}}&hashtags={{tags separator="," autolink="false"}}&url={{url absolute="true"}}">
{{#if image}}<img id="post-image" src={{image}} alt="{{{title}}}">{{/if}}
<h1 class="icon-reverse icon-social-twitter-post" id="post-title">{{{title}}}</h1>
</a>
</header>
<div id="post-content" class="{{post_class}}">
{{content}}
</div>
<div class="post related">
{{#prev_post}}
<a rel="prev" id="prev-btn" class="btn small square" href="{{url}}">← {{title}}</a>
{{/prev_post}}
{{#next_post}}
<a rel="next" id="next-btn" class="btn small square" href="{{url}}">{{title}} →</a>
{{/next_post}}
</div>
{{> comments}}
</article>
{{/post}}