forked from starburst1977/chiara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
executable file
·116 lines (95 loc) · 4.54 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
111
112
113
114
115
116
<!DOCTYPE html>
<html>
<head>
{{! Document Settings }}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{! Page Meta }}
<title>{{meta_title}}</title>
<meta name="description" content="{{meta_description}}" />
<!-- (1) Optimize for mobile versions: http://goo.gl/EOpFl -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- (1) force latest IE rendering engine: bit.ly/1c8EiC9 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True" />
<meta name="MobileOptimized" content="320" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="{{meta_title}}">
<meta name="twitter:description" content="{{meta_description}}">
<meta name="twitter:site" content="http://www.filteredthought.com">
<meta name="twitter:creator" content="@filteredthought">
<meta name="google-site-verification" content="">
<meta property="fb:admins" content="">
<meta property="og:type" content="article">
<meta property="og:title" content="{{meta_title}}">
<meta property="og:description" content="{{meta_description}}">
<link rel="shortcut icon" href="{{asset "favicon.ico"}}">
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="{{asset "css/main.css"}}" />
<link rel="stylesheet" href="{{asset "js/styles/obsidian.css"}}">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="//brick.a.ssl.fastly.net/Linux+Libertine:400,400i,700,700i">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,700italic' rel='stylesheet' type='text/css'>
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
</head>
<body class="{{body_class}}">
{{! Everything else gets inserted here }}
{{{body}}}
<footer class="site-footer">
<div class="cf">
<div class="left">
<form>
<input id="search-field" placeholder="Search through articles" />
</form>
</div>
<div class="right">
<a class="subscribe icon-feed" href="{{@blog.url}}/rss/"><span class="tooltip">Subscribe via RSS</span></a>
</div>
</div>
<br>
<section id="results"></section>
<br>
<div class="inner">
<section class="copyright">All content copyright <a href="{{@blog.url}}/">{{@blog.title}}</a> © {{date format="YYYY"}} • All rights reserved.</section>
<section class="poweredby">Proudly published with <a class="icon-ghost" href="http://ghost.org">Ghost</a></section>
</div>
</footer>
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
{{! The main JavaScript file }}
<script src="{{asset "js/readingTime.min.js"}}"></script>
<!-- Ghost Search Script-->
<script src="{{asset "js/jquery.ghostHunter.min.js"}}"></script>
<!--
<script type="text/javascript" src="{{asset "js/min/index-ck.js"}}"></script>
<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-47305801-1', 'svenread.com');
ga('send', 'pageview');
</script>
-->
{{#with post}}
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
<script src="{{asset "js/highlight.pack.js"}}"></script>
<script>hljs.initHighlightingOnLoad();</script>
{{/with}}
<script>
var searchField = $("#search-field").ghostHunter({
results : "#results",
zeroResultsInfo : false,
//Enable the "search as you type" by uncommenting the following line
onKeyUp : true
});
function clearResults() {
searchField.clear();
}
</script>
</body>
</html>