forked from TryGhost/Ease
-
Notifications
You must be signed in to change notification settings - Fork 0
/
post.hbs
41 lines (32 loc) · 1.08 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}}
<main class="site-main">
{{#post}}
<article class="{{post_class}}">
<header class="gh-article-header gh-canvas">
<h1 class="gh-article-title">{{title}}</h1>
<div class="post-meta">
Published on
<time datetime="{{date format="YYYY-MM-DD"}}">{{date format="D MMMM YYYY"}}</time>,
last updated on
<time datetime="{{date updated_at format="YYYY-MM-DD"}}">{{date updated_at format="D MMMM YYYY"}}</time>
by {{authors}}
</div>
{{> "post-image"}}
</header>
<div class="gh-content gh-canvas">
{{content}}
<hr>
<footer class="gh-article-footer">
<div class="post-meta">
📖 Read more on {{tags separator=" "}}.
</div>
</footer>
</div>
{{#if comments}}
<div class="gh-comments gh-canvas">
{{comments}}
</div>
{{/if}}
</article>
{{/post}}
</main>