-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathdefault.hbs
138 lines (121 loc) · 6.86 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!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}}" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="//ghost.org/assets/favicon-e13fe17b11ad125601924cfb260f20da.ico">
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:700,400,200" />
<link rel="stylesheet" href="//ghost.org/assets/application-4429d994692ff98725ab40f22273d956.css" media="all" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
<meta property="twitter:site" content="@TryGhost">
<meta property="twitter:domain" content="Ghost.org" />
<meta property="og:site_name" content="Ghost" />
<meta property="fb:admins" content="511697361" />
{{ghost_head}}
</head>
<body class="{{body_class}}">
<div id="fb-root"></div>
<aside class="subscribe-banner">
Want to keep up to date weekly with more great posts? <a class="button" data-toggle="modal" data-target="#blogsubscribe">Subscribe</a>
</aside>
<header id="global-header" class="global-header navbar">
<nav role="navigation">
<div class="wrapper">
<a class="ghost-logo" href="https://ghost.org/"><span>Ghost</span></a>
<button type="button" class="mobile-menu" data-toggle="closed" data-target=".nav-collapse">
<span class="hidden">Menu</span>
</button>
<ul id="main-menu" class="nav-collapse closed">
<li><a href="//ghost.org/features/">Features</a></li>
<li><a href="//ghost.org/about/">About</a></li>
<li><a href="//marketplace.ghost.org">Marketplace</a></li>
<li><a href="//ghost.org/forum/">Forum</a></li>
<li class="current extra"><a href="//blog.ghost.org">Blog</a></li>
<li><a class="signup" href="//ghost.org/signup/">Sign Up</a></li>
<li><a class="login" href="//ghost.org/login/">Log in</a></li>
</ul>
</div>
</nav>
</header>
<main role="main">
<div class="page-wrapper">
{{{body}}}
<div class="clearfix"></div>
</div>
</main>
<div class="modal fade" id="blogsubscribe" tabindex="-1" role="dialog" aria-labelledby="Email subscription modal" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<header class="modal-header">
<h4 class="modal-title">The latest content, once per week.</h4>
<a class="modal-close" data-dismiss="modal" aria-hidden="true" href="#"><span class="hidden">Close</span></a>
</header>
<div class="modal-body">
<form action="{{! populated via code injection}}" method="post">
<input id="fieldEmail" name="{{! populated via code injection}}" type="email" placeholder="Your email address" required />
<button class="button-add wide" type="submit">Send me the good stuff</button>
<p><strong>Privacy policy:</strong> No spam. No jibber jabber. Unsubscribe any time.</p>
</form>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<footer id="global-footer">
<nav id="footer-nav" role="navigation">
<ul id="footer-menu">
<li class="logo"><a href="/"><img alt="Ghost" src="//ghost.org/assets/logo-minighost-0f5476cf6a52adff2f2a67e4f16d3e29.png"></a></li>
<li><a class="" href="//ghost.org//about/">About</a></li>
<li><a href="http://status.ghost.org">Status</a></li>
<li><a class="" href="//ghost.org/pricing/">Pricing</a></li>
<li><a href="http://blog.ghost.org">Blog</a></li>
<li><a class="" href="//ghost.org//about/terms/">Terms</a></li>
<li><a class="" href="//ghost.org//about/privacy/">Privacy</a></li>
<li><a class="" href="//ghost.org//about/contact/">Contact</a></li>
</ul>
<div class="clearfix"></div>
<span class="poweredby"><img alt="Ghost" src="//ghost.org/assets/logo-minidigitalocean-1bb39c0755ac79befc56ca39d7889eb5.png"> Powered <em>by</em> <a href="https://digitalocean.com" target="_blank">DigitalOcean</a></span>
<ul id="social-menu">
<li class="github"><a href="https://github.com/tryghost/Ghost"><span class="hidden">Github</span></a></li>
<li class="twitter"><a href="https://twitter.com/tryghost"><span class="hidden">Twitter</span></a></li>
<li class="gplus"><a href="https://plus.google.com/u/0/b/114465948129362706086/114465948129362706086/posts"><span class="hidden">Google+</span></a></li>
<li class="facebook"><a href="https://www.facebook.com/ghost"><span class="hidden">Facebook</span></a></li>
</ul>
</nav>
<div class="clearfix"></div>
</footer>
{{ghost_foot}}
<script type="text/javascript">
function replaceHeader (content) {
$(document).ready(function() {
$("#global-header > nav > .wrapper").replaceWith(content);
$("#global-header > nav > .wrapper").fadeIn();
});
}
</script>
<script src="https://ghost.org/navigation/"></script>
<script type="text/javascript" src="//ghost.org/assets/application-b3c32be93105ff710a7fd776dff06d70.js"></script>
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
<script type="text/javascript" src="{{asset "js/prism.js"}}"></script>
<script type="text/javascript" src="{{asset "js/index.js"}}"></script>
{{! Twitter buttons }}
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
{{! Facebook buttons }}
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=596756540369391";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
{{! Google+ buttons }}
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
</body>
</html>