-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.hbs
39 lines (39 loc) · 1.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
<!doctype html>
<html lang="{{lang}}">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/agate.min.css">
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
{{ghost_head}}
</head>
<body class="site {{body_class}}">
<main class="site-wrapper">
<header>
<a href="{{@blog.url}}"><h1 class="site-title">{{@blog.title}}</h1></a>
<small class="site-description">{{@blog.description}}</small>
</header>
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
</main>
<footer class="site-footer outer">
<div class="site-footer-content inner">
<div class="copyright"><a href="{{@blog.url}}">{{@blog.title}}</a> © {{date format="YYYY"}}</div>
</div>
</footer>
{{{block "scripts"}}}
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>
addEventListener('load', function(){
var code = document.querySelectorAll('pre code');
code.forEach(function(block) {
hljs.highlightBlock(block);
});
});
</script>
{{ghost_foot}}
</body>
</html>