forked from xiaoluoboding/ghost-theme-kaldorei
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.hbs
53 lines (42 loc) · 1.43 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
45
46
47
48
49
50
51
52
53
{{!< 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"}}
{{! The main container area on the homepage }}
<main id="container" class="container" role="main">
<div id="content" class="content col-sm-12 col-md-12 col-lg-12">
<article class="{{post_class}}">
<header class="post-header">
<h1 class="post-title">{{title}}</h1>
</header>
<section class="post-content">
{{content}}
</section>
<footer class="post-footer">
{{> "post_author"}}
</footer>
</article>
<aside class="post-nav">
{{#prev_post}}
<span class="post-nav-prev">
<a href="{{url}}">
<i class="fa fa-chevron-left"></i>
{{title}}
</a>
</span>
{{/prev_post}}
{{#next_post}}
<span class="post-nav-next">
<a href="{{url}}">
{{title}}
<i class="fa fa-chevron-right"></i>
</a>
</span>
{{/next_post}}
</aside>
{{> "comments"}}
<div>
</main>
{{/post}}