forked from coolhihi/gxxghost
-
Notifications
You must be signed in to change notification settings - Fork 1
/
post.hbs
41 lines (37 loc) · 1.4 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}}
{{! The comment above "< default" means - insert everything in this file into
the {body} of the default.hbs template, which contains our header/footer. }}
{{! Everything inside the #post tags pulls data from the post }}
{{#post}}
<main class="content" role="main">
<article class="{{post_class}}">
<header class="post-header">
{{{title}}}
</header>
<div class="post-meta">
<i class="gxxicon-tag"></i>
{{tags prefix=" "}}
<time class="post-date" datetime="{{date format='YYYY年MM月DD日'}}"><i class="gxxicon-time"></i> {{date format="YYYY年MM月DD日"}}</time>
<div class="post-comment"><i class="gxxicon-comment"></i> <a href="{{url}}#disqus_thread"></a></div>
</div>
<section class="post-content">
{{content}}
</section>
<footer class="post-footer">
<input type="hidden" id="GxxPostUrl" value="{{url}}" />
<input type="hidden" id="GxxPostId" value="ghost-{{id}}" />
<div id="disqus_thread"></div>
</footer>
</article>
</main>
<!--
<aside class="pagination gxx_pagination">
{{#prev_post}}
<a class="newer-posts" href="{{url}}" title="{{title}}"">← 上一篇</a>
{{/prev_post}}
{{#next_post}}
<a class="older-posts" href="{{url}}" title="{{title}}">下一篇 →</a>
{{/next_post}}
</aside>
-->
{{/post}}