forked from kathyqian/crisp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
default.hbs
executable file
·55 lines (55 loc) · 2.62 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
<!doctype html>
<html lang="{{@site.locale}}">
<head>
{{! Document Settings }}
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
{{! Page Meta }}
<title>{{meta_title}}</title>
{{! Styles }}
<link href='//fonts.googleapis.com/css?family=Open+Sans:300italic,700italic,300,700' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Bree+Serif' rel='stylesheet' type='text/css'>
<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/default.min.css">
<link rel="stylesheet" type="text/css" href="{{asset '/styles/crisp.css'}}">
{{! Responsive Meta Tags }}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
{{{block "head"}}}
{{ghost_head}}
</head>
<body class="{{body_class}}">
<header id="header" {{#if @site.cover_image}}style="background-image: url('{{@site.cover_image}}')"{{/if}}>
{{#if @site.logo}}<a id="logo" href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>{{/if}}
{{#is "home"}}
<h1 class="site-title"><a href="{{@site.url}}">{{@site.title}}</a></h1>
{{else}}
<span class="site-title"><a href="{{@site.url}}">{{@site.title}}</a></span>
{{/is}}
<p>{{@site.description}}</p>
{{> follow}}
{{navigation}}
</header>
<main id="content">
{{{body}}}
</main>
<footer id="footer">
<section id="footer-message">© {{date format='YYYY'}} {{@site.title}}. {{t "All rights reserved" }}. {{t "Powered" }} {{t "by" }} <a href="http://ghost.org" target="_blank">Ghost</a>. <a href="https://github.com/kathyqian/crisp" target="_blank">Crisp</a> {{t "theme" }} {{t "by" }} <a href="http://kathyqian.com" target="_blank">Kathy Qian</a>.</section>
</footer>
{{ghost_foot}}
<script src="{{asset '/js/jquery.fitvids.js'}}"></script>
<script>
$(document).ready(function(){
// Target your .container, .wrapper, .post, etc.
$(".kg-embed-card").fitVids();
});
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</body>
</html>