liebling/default.hbs

103 lines
3.9 KiB
Handlebars
Raw Normal View History

2019-02-19 16:22:38 +00:00
<!DOCTYPE html>
2019-04-15 13:30:25 +00:00
<html lang="{{@site.lang}}">
2019-02-19 16:22:38 +00:00
<head>
{{!-- Document Settings --}}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
{{!-- Base Meta --}}
<title>{{meta_title}}</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2020-07-07 15:13:29 +00:00
{{!-- Preload assets --}}
<link rel="preload" href="{{asset "css/app.css"}}" as="style" />
<link rel="preload" href="{{asset "js/vendor/content-api.min.js"}}" as="script" />
<link rel="preload" href="{{asset "js/manifest.js"}}" as="script" />
<link rel="preload" href="{{asset "js/vendor.js"}}" as="script" />
<link rel="preload" href="{{asset "js/app.js"}}" as="script" />
<link rel="preconnect" href="https://polyfill.io">
<link rel="dns-prefetch" href="https://polyfill.io">
{{!-- This #block helper will try to preload page-specific assets --}}
{{{block "preload"}}}
{{!-- Styles & Scripts --}}
2020-01-22 11:50:14 +00:00
<style>
/* This font-face is here to make icons work if the Ghost instance is installed in a subdirectory */
@font-face {
font-family: 'icomoon';
2020-04-27 22:01:48 +00:00
src: url("{{asset 'fonts/icomoon.eot?vukg2s'}}");
src: url("{{asset 'fonts/icomoon.eot?vukg2s#iefix'}}") format('embedded-opentype'),
url("{{asset 'fonts/icomoon.ttf?vukg2s'}}") format('truetype'),
url("{{asset 'fonts/icomoon.woff?vukg2s'}}") format('woff'),
url("{{asset 'fonts/icomoon.svg?vukg2s#icomoon'}}") format('svg');
2020-01-22 11:50:14 +00:00
font-weight: normal;
font-style: normal;
font-display: swap;
}
</style>
2020-07-07 15:13:29 +00:00
<link rel="stylesheet" type="text/css" href="{{asset "css/app.css"}}" media="screen" />
2019-02-19 16:22:38 +00:00
2020-07-02 20:23:00 +00:00
{{!-- This #block helper will inject a stylesheet for a specific page --}}
{{{block "styles"}}}
2019-04-14 18:41:25 +00:00
{{!-- This #block helper will pull data from the hero partial
to inject styles of the hero image to make it responsive --}}
2019-03-12 10:39:01 +00:00
{{{block "herobackground"}}}
2019-02-19 16:22:38 +00:00
{{!-- This tag outputs SEO meta+structured data and other important settings --}}
{{ghost_head}}
2019-04-14 18:41:25 +00:00
{{!-- This variable is used to make the search form work --}}
2019-02-23 11:32:14 +00:00
<script>
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
2019-02-23 11:32:14 +00:00
const ghostHost = "{{@site.url}}"
// @license-end
2019-02-23 11:32:14 +00:00
</script>
2019-10-27 16:57:53 +00:00
{{!-- This script loads the Google font asynchronously --}}
<script>
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
WebFontConfig = {
google: { families: ['Source+Sans+Pro:400,600,700&display=swap'] }
};
(function (d) {
var wf = d.createElement('script'), s = d.scripts[0];
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js';
wf.async = true;
s.parentNode.insertBefore(wf, s);
})(document);
// @license-end
</script>
2019-02-19 16:22:38 +00:00
</head>
<body class="{{body_class}}">
2019-02-23 12:30:29 +00:00
{{!-- All the main content gets inserted here, index.hbs, post.hbs, etc --}}
{{{body}}}
2019-02-19 21:01:44 +00:00
2019-02-20 12:13:59 +00:00
{{!-- Search form --}}
{{> search}}
2019-02-19 21:01:44 +00:00
{{!-- The footer --}}
{{> footer}}
2020-03-11 17:42:00 +00:00
{{!-- Notifications alerts --}}
{{> "notifications"}}
2019-02-19 23:00:22 +00:00
{{!-- Common scripts shared between pages --}}
2019-10-27 10:43:31 +00:00
<script crossorigin="anonymous" src="https://polyfill.io/v3/polyfill.min.js?features=IntersectionObserver%2CPromise%2CArray.prototype.includes%2CString.prototype.endsWith%2CString.prototype.startsWith%2CObject.assign%2CNodeList.prototype.forEach"></script>
<script defer src="{{asset "js/vendor/content-api.min.js"}}"></script>
2019-02-19 23:00:22 +00:00
<script defer src="{{asset "js/manifest.js"}}"></script>
<script defer src="{{asset "js/vendor.js"}}"></script>
<script defer src="{{asset "js/app.js"}}"></script>
2019-02-19 16:22:38 +00:00
{{!-- The #block helper will pull in data from the #contentFor other template files --}}
{{{block "scripts"}}}
{{!-- Ghost outputs important scripts and data with this tag --}}
{{ghost_foot}}
</body>
</html>