forked from AiPacino/gxxghost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
84 lines (72 loc) · 3.12 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
<!DOCTYPE html>
<html>
<head>
{{! Document Settings }}
<meta charset="utf-8" />
{{! Page Meta }}
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="{{asset "/favicon.ico"}}">
{{> custom/meta}}
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.min.css"}}" />
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
<script type="text/javascript">
{{> custom/config}}
</script>
</head>
<body class="{{body_class}}">
<div class="gxx_header">
<div class="gxx_header_con clearfix">
{{> custom/sitetitle}}
<div class="gxx_search" id="bdcs">
<form id="bdcs-search-form" action="http://zhannei.baidu.com/cse/search" method="get" target="_blank">
<input name="s" type="hidden" id="bdcs-search-form-sid" value="">
<input type="search" name="q" class="bdcs-search-form-input" id="bdcs-search-form-input" value="" placeholder="搜索" />
<input name="entry" type="hidden" value="1">
<input type="submit" class="gxxicon bdcs-search-form-submit" id="bdcs-search-form-submit" value="" />
</form>
</div>
{{navigation}}
</div>
</div>
<div class="gxx_frame{{#is "post"}} gxx_hidesidebar{{/is}}">
<div class="gxx_frame_con clearfix">
{{> sidebar}}
<div class="gxx_wrapper gxx_pjax">
<!--pjax-start-->
{{! Everything else gets inserted here }}
{{{body}}}
<!--pjax-end-->
</div>
</div>
</div>
<footer class="gxx_footer">
<div class="gxx_footer_con clearfix">
<section class="gxx_copyright">
<a href="{{@blog.url}}">{{@blog.title}}</a> © {{date format="YYYY"}}</section>
<section class="gxx_poweredby">Powered by <a href="https://ghost.org">Ghost</a>. Theme by <a href="http://gxxsite.com">COoL</a></section>
</div>
</footer>
<div class="gxx_floatlayer">
<a class="gxx_gotopbtn">
<i class="gxxicon-top"></i>
</a>
</div>
{{!-- jQuery needs to come before `{{ghost_foot}}` so that jQuery can be used in code injection --}}
<script type="text/javascript" src="{{asset "js/jquery.min.js"}}"></script>
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
{{! The jQuery plugin for smooth scroll }}
<script type="text/javascript" src="{{asset "js/jquery.scrollTo.min.js"}}"></script>
{{! The plugin can highlight the code }}
<script type="text/javascript" src="{{asset "js/highlight.min.js"}}"></script>
{{! Pjax }}
<script type="text/javascript" src="{{asset "js/pjax.min.js"}}"></script>
{{! Disqus comment counter }}
{{! The main JavaScript file for GxxGhost }}
<script type="text/javascript" src="{{asset "js/index.min.js"}}"></script>
</body>
</html>