forked from moegi-design/ghost-theme-Moegi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.hbs
45 lines (35 loc) · 1.19 KB
/
page.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
{{!< default}}
{{! This is a page template. A page outputs content just like any other post, and has all the same
attributes by default, but you can also customise it to behave differently if you prefer. }}
{{! Everything inside the #post tags pulls data from the page }}
{{#post}}
<header>
<div class="post-blog-title">
<a href="{{@blog.url}}"><i class="iconfont icon-back"></i> {{@blog.title}}</a>
<div class="post-nav">
{{navigation}}
</div>
</div>
</header>
<main role="main">
<article class="{{post_class}} single-post">
<header class="post-header">
<h1 class="post-title">{{title}}</h1>
<section class="post-meta">
<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMMM YYYY"}}</time>
</section>
</header>
<section class="post-content typo">
{{content}}
</section>
</article>
<footer class="post-footer">
{{> "post-author"}}
<span class="tags">{{tags separator=""}}</span>
<aside class="post-readmore">
</aside>
</footer>
</main>
{{> "toc"}}
{{> "comment"}}
{{/post}}