-
Notifications
You must be signed in to change notification settings - Fork 49
/
default.hbs
executable file
·110 lines (89 loc) · 3.44 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
{{! Document Settings }}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{! Page Meta }}
<title>
{{meta_title}}{{#is "post"}} | {{@blog.title}}{{/is}}
</title>
{{! Page Meta }}
{{{block "meta"}}}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
{{! Styles'n'Scripts }}
<!--<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />-->
{{! Added Bootstrap }}
<link rel="stylesheet" href="{{asset "css/bootstrap.min.css"}}"/>
<link rel="stylesheet" href="{{asset "css/monokai_sublime.css"}}">
<link rel="stylesheet" href="{{asset "css/default.css"}}">
<link rel="stylesheet" href="{{asset "css/elusive-icons.min.css"}}">
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-40547934-3', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript" src="{{asset "js/jquery.js"}}"></script>
{{! Add all code style here }}
<!--<link rel="stylesheet" href="{{asset "css/default.css"}}">-->
<script src="{{asset "js/highlight.pack.js"}}"></script>
{{! Page Highlight }}
{{{block "initHighlight"}}}
<script>
</script>
</head>
<body>
{{#is "home"}}
{{#if @blog.cover_image}}
<div style="background:url({{@blog.cover_image}}) no-repeat center center;" class="cover cover-border hidden-sm hidden-xs">
<div class="blog-description">
<h1>{{@blog.description}}</h1>
</div>
</div>
{{/if}}
{{/is}}
<div class="container">
<div class="row">
<div class="col-md-2 hidden-sm hidden-xs">
{{> "navbar"}}
</div>
<div class="col-md-10 col-xs-12">
{{{body}}}
</div>
{{#if @labs.subscribers}}
<div class="col-md-10 hidden-xs hidden-sm">
<div class="subscribe-form">
{{subscribe_form}}
</div>
</div>
{{/if}}
</div>
</div>
<footer class="page-footer">
<div class="container">
<div class="row">
<div class="col-xs-6">
<i class="el el-stop footer-icon"></i>
© {{date format="YYYY"}} <a href="{{@blog.url}}">{{@blog.title}}</a> All rights reserved.<br><br>
Coder Ghost Theme created by <a href="https://www.mbejda.com">Milos Bejda</a>
</div>
<div class="col-xs-6 text-right hidden-sm hidden-xs">Proudly published with <a href="https://ghost.org">Ghost</a></div>
</div>
</div>
</footer>
<a href="#" class="back-to-top"><span class="fa fa-angle-up fa-2x"></span></a>
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
{{! The main JavaScript file for Casper }}
<script src="{{asset "js/modernizr.js"}}"></script>
<script type="text/javascript" src="{{asset "js/index.js"}}"></script>
</body>
</html>