forked from xiaoluoboding/ghost-theme-kaldorei
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.hbs
More file actions
57 lines (48 loc) · 1.35 KB
/
page.hbs
File metadata and controls
57 lines (48 loc) · 1.35 KB
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
54
55
56
57
{{!< default}}
{{#post}}
<header class="main-header">
<nav class="container main-nav clearfix">
<div class="main-nav-title pull-left">
<a class="blog-title" href="{{@blog.url}}">{{@blog.title}}</a>
</div>
{{#if @blog.navigation}}
{{navigation}}
{{/if}}
</nav>
</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}}">
{{title}}
</a>
</span>
{{/prev_post}}
{{#next_post}}
<span class="post-nav-next" >
<a href="{{url}}">
{{title}}
</a>
下一篇
</span>
{{/next_post}}
</aside>
{{> "comments"}}
<div>
</main>
{{/post}}