-
Notifications
You must be signed in to change notification settings - Fork 50
/
default.hbs
88 lines (69 loc) · 3.42 KB
/
default.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{!-- Base Meta --}}
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{!-- Styles'n'Scripts --}}
<link rel="stylesheet" type="text/css" href="{{asset "built/screen.css"}}" />
{{!-- <link rel="stylesheet" type="text/css" href="{{asset "css/main.css"}}" /> --}}
{{!-- The #block helper will pull in data from the #contentFor other template files. --}}
{{{block "links"}}}
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<div class="site-wrapper">
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
{{!-- The footer at the very bottom of the screen --}}
<footer class="site-footer outer ">
<div class="site-footer-content inner">
{{^is "index, home"}}
<div class="site-footer-top">
<section class="site-tag-block">
{{> "tag_block"}}
</section>
</div>
{{/is}}
<div class="site-footer-bottom">
<section class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> © {{date format="YYYY"}} · All rights reserved.</section>
<div class="author-info">
Theme <a href="https://github.com/wenkeShi/ghost-caspro" target="_blank">caspro</a> by @ <a href="{{@blog.url}}">wenke</a>
<a class="star-github" href="https://github.com/wenkeShi/ghost-caspro" target="_blank"><i></i>Star</a>
</div>
<nav class="site-footer-nav">
<a href="//blog.xinwenke.top/author/wenke">Latest Posts</a>
<a href="https://ghost.org" target="_blank" rel="noopener">Ghost</a>
<a href="//www.miitbeian.gov.cn/" target="_blank">鄂ICP备17029927号</a>
</nav>
</div>
</div>
</footer>
</div>
{{^ is 'index,home'}}
{{!-- jQuery + Fitvids, which makes all video embeds responsive --}}
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
</script>
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
{{!-- {{debug pagination}} --}}
{{#if pagination.pages}}
<script>
var maxPages = parseInt('{{pagination.pages}}');
</script>
<script src="{{asset "js/infinitescroll.js"}}"></script>
{{/if}}
{{/is}}
{{!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. --}}
{{{block "scripts"}}}
{{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
{{ghost_foot}}
</body>
</html>