forked from godofredoninja/Mapache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.hbs
67 lines (54 loc) · 2.78 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
<!DOCTYPE html>
<html lang="{{lang}}">
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{!-- Page Meta --}}
<title>{{meta_title}}</title>
{{!-- Mobile Meta --}}
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1">
{{!-- Styles'n'Scripts --}}
{{!-- <link rel="stylesheet" type="text/css" href="{{asset "styles/main.css"}}"/> --}}
{{!-- All Styles Compress --}}
<style>{{> "styles"}}</style>
{{!-- Font Roboto 400 --}}
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
{{!-- Ghost outputs important style and meta data with this tag --}}
{{ghost_head}}
</head>
<body class="{{#is "post"}}is-article{{/is}} {{{block "mapache_class_body"}}}">
{{!-- Header Content --}}
{{>"header"}}
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
<main class="main u-relative">{{{body}}}</main>
{{!-- Footer Content --}}
{{>"footer"}}
{{!-- Search box --}}
{{>"search"}}
{{!-- Loandig Bar --}}
<div class="loadingBar"></div>
{{!-- Widget Modal Subscribe --}}
{{> "widget/widget-subscribe-modal"}}
{{!-- Return home top page scroll --}}
<div class="rocket u-hide-before-md i-arrow-round-up u-flexCenter u-flexContentCenter u-fontSize40"></div>
{{!-- Jquery --}}
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
</script>
{{!-- Blog URL --}}
<script>var blogUrl = '{{@blog.url}}';</script>
{{!-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag --}}
{{ghost_foot}}
{{#if pagination.pages}}<script>var maxPages = parseInt('{{pagination.pages}}');</script>{{/if}}
{{!-- The main JavaScript file for Casper --}}
<script src="{{asset "scripts/main.js"}}" async></script>
{{!-- The #block helper will pull in data from the #contentFor other template files. In this case, there's some JavaScript which we only want to use in post.hbs, but it needs to be included down here, after jQuery has already loaded. --}}
{{{block "scripts"}}}
{{!-- Fonts => Roboto && Merriweather && Roboto Mono--}}
<script>WebFontConfig ={google:{families:['Roboto:300,500,700','Merriweather:300,400,700'{{#is "post"}},'Roboto+Mono'{{/is}}]}};(function(){var wf=document.createElement('script');wf.src='https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js';wf.type='text/javascript';wf.async='true';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(wf,s);})();</script>
</body>
</html>