liebling/default.hbs

124 lines
4.8 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/manifest.js"}}" as="script" />
<link rel="preload" href="{{asset "js/vendor/content-api.min.js"}}" as="script" />
2020-07-07 15:13:29 +00:00
<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>
/* These font-faces are here to make fonts work if the Ghost instance is installed in a subdirectory */
2020-08-05 19:37:36 +00:00
/* source-sans-pro-regular */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
2020-08-05 19:37:36 +00:00
url("{{asset 'fonts/source-sans-pro/source-sans-pro-regular.woff2'}}") format('woff2'),
url("{{asset 'fonts/source-sans-pro/source-sans-pro-regular.woff'}}") format('woff');
}
2020-08-05 19:37:36 +00:00
/* source-sans-pro-600 */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 600;
font-display: swap;
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
2020-08-05 19:37:36 +00:00
url("{{asset 'fonts/source-sans-pro/source-sans-pro-600.woff2'}}") format('woff2'),
url("{{asset 'fonts/source-sans-pro/source-sans-pro-600.woff'}}") format('woff');
}
2020-08-05 19:37:36 +00:00
/* source-sans-pro-700 */
@font-face {
font-family: 'Source Sans Pro';
font-style: normal;
font-weight: 700;
font-display: swap;
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
2020-08-05 19:37:36 +00:00
url("{{asset 'fonts/source-sans-pro/source-sans-pro-700.woff2'}}") format('woff2'),
url("{{asset 'fonts/source-sans-pro/source-sans-pro-700.woff'}}") format('woff');
}
/* iconmoon */
2020-01-22 11:50:14 +00:00
@font-face {
font-family: 'icomoon';
font-weight: normal;
font-style: normal;
font-display: swap;
2020-08-05 19:37:36 +00:00
src: url("{{asset 'fonts/icomoon/icomoon.eot?aoz2mo'}}");
src: url("{{asset 'fonts/icomoon/icomoon.eot?aoz2mo#iefix'}}") format('embedded-opentype'),
url("{{asset 'fonts/icomoon/icomoon.ttf?aoz2mo'}}") format('truetype'),
url("{{asset 'fonts/icomoon/icomoon.woff?aoz2mo'}}") format('woff'),
url("{{asset 'fonts/icomoon/icomoon.svg?aoz2mo#icomoon'}}") format('svg');
2020-01-22 11:50:14 +00:00
}
</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-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 --}}
{{#if @labs.members}}
{{> "notifications"}}
{{/if}}
2020-03-11 17:42:00 +00:00
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>
2019-02-19 23:00:22 +00:00
<script defer src="{{asset "js/manifest.js"}}"></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/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>