mind-overflow-website-ghost.../default.hbs

73 lines
2.4 KiB
Handlebars
Raw Permalink Normal View History

2020-10-30 00:19:49 +01:00
<!DOCTYPE html>
2021-03-17 08:30:30 +01:00
<html lang="{{@site.locale}}">
2020-11-10 21:58:58 +01:00
<head>
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}"/>
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{!-- Scripts Begin --}}
2021-01-03 11:38:55 +01:00
<script src="{{asset "js/libs/jquery/jquery-3.5.1.js"}}"></script>
<script src="{{asset "js/scripts/policy-popup.js"}}"></script>
<script src="{{asset "js/scripts/arrow-fade.js"}}" async></script>
<script src="{{asset "js/scripts/scroll-navbar-color.js"}}"></script>
2020-11-10 21:58:58 +01:00
{{#is "post"}}
2021-01-03 11:38:55 +01:00
<script src="{{asset "js/scripts/get-headers-list.js"}}"></script>
2020-11-10 21:58:58 +01:00
{{/is}}
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{!-- TODO: REMOVE ON PRODUCTION! --}}
<script type="text/javascript" src="http://livejs.com/live.js"></script>
{{!-- Scripts End --}}
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{!-- Begin Page-specific code --}}
{{#is "post"}}
2021-01-03 12:13:21 +01:00
<script async src="{{asset "js/libs/remark42/remark42-comments.js"}}"></script>
2020-11-10 21:58:58 +01:00
{{/is}}
2020-10-30 00:19:49 +01:00
{{#is "post, page"}}
2021-01-03 11:38:55 +01:00
<script src="{{asset "js/libs/prismjs/prism.min.js"}}"></script>
<link rel="stylesheet" type="text/css" href="{{asset "css/prism-mind-theme.css"}}"/>
{{/is}}
2020-11-10 21:58:58 +01:00
{{#is "index"}}
<title>{{@site.title}}</title>
{{/is}}
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{# is "post, page, tag"}}
<title>{{meta_title}} {{@site.title}}</title>
{{/is}}
{{!-- End Page-specific code --}}
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{ghost_head}}
{{!-- Outputs important meta data and settings, should always be in <head> --}}
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
</head>
<body class="{{body_class}}" onload="openPolicyPopup()">
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{> "navbar-primary"}}
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{{body}}}
{{!-- All content gets inserted here, index.hbs, post.hbs, etc --}}
{{> "policy-popup"}} {{!-- Todo: maybe we shouldn't include the whole HTML in every page (hidden)
and then show it via JS, but instead only inject it when needed via JS. This is because search
engines might scan the policy popup too. --}}
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
<footer class="mind-site-footer_main unselectable">
<div>
<p>Copyright &copy; 2019-<script>document.write(new Date().getFullYear().toString().substr(-2))</script> ― Lorenzo Dellacà</p>
2020-11-10 21:58:58 +01:00
</div>
<nav class="mind-site-footer_nav">
<a href="/policy/">Privacy Policy</a>
</nav>
</footer>
2020-10-30 00:19:49 +01:00
2020-11-10 21:58:58 +01:00
{{!-- <foot> --}}
{{ghost_foot}}
{{!-- Outputs important scripts - should always be included before closing body tag --}}
</body>
2020-10-30 00:19:49 +01:00
</html>