-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdefault.hbs
105 lines (95 loc) · 4.64 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
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
{{! Document Settings }}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
{{! 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.0, maximum-scale=1.0, user-scalable=no" />
<meta property="og:url" content="{{@blog.url}}">
<meta property="og:type" content="article">
<meta property="og:title" content="{{meta_title}}">
<meta property="og:description" content="{{meta_description}}">
<meta property="og:site_name" content="{{@blog.title}}">
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="{{asset "styles/main.css"}}" />
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,700' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Merriweather:300,700' rel='stylesheet' type='text/css'>
{{! Ghost outputs important style and meta data with this tag }}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div class="wrapper">
<header id="header" class="header">
<div class="container">
<div class="page-title">
<h1 class="name"><a href="{{@blog.url}}">{{@blog.title}}</a></h1>
<p class="desc">{{@blog.description}}</p>
</div>
{{navigation}}
<a href="#" class="menu" id="toggle">
<span></span>
<span></span>
<span></span>
</a>
</div>
</header>
<a href="{{@blog.url}}" class="home-link"><i class="fa fa-lg fa-home" aria-hidden="true"></i></a>
<div class="container">
<main class="content" role="main">
{{{body}}}
</main>
</div>
</div>
<div class="footer">
<footer class="container">
<div class="links">
<div class="follow">
<h5 class="footer-heading">Follow Me</h5>
{{> "social"}}
</div>
<div class="follow">
<h5 class="footer-heading">Explore</h5>
{{> "external"}}
</div>
<div class="recent">
<h5 class="footer-heading">Recent Posts</h5>
{{#get "posts" limit="5" as |recents|}}
<ul>
{{#foreach recents}}
<li><a href="{{url}}">{{title}}</a></li>
{{/foreach}}
</ul>
{{/get}}
</div>
</div>
</footer>
<div id="copyright">
<div class="container">
<div class="copyright-text">© {{date format="YYYY"}} <a href="{{@blog.url}}">{{@blog.title}}</a>. Proudly published with <a href="//ghost.org">Ghost</a> and <a href="//github.com/namdau/journal">Journal</a>.</div>
</div>
</div>
</div>
{{! Ghost outputs important scripts and data with this tag }}
{{ghost_foot}}
<script src="{{asset "scripts/main.js"}}"></script>
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
<script>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src='//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
ga('create','UA-XXXXX-X','auto');ga('send','pageview');
</script>
</body>
</html>