mind-overflow-website-ghost.../default.hbs
Lorenzo Dellacà a1f0fcaf99 implement posts style, to be completed
change font
add secondary navigation to homepage
2020-08-15 12:40:28 +02:00

80 lines
2.5 KiB
Handlebars
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="{{@site.lang}}">
<head>
<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"}}" />
<!-- Scripts Begin -->
<script src="{{asset "js/jquery-3.5.1.js"}}"></script>
<script src="{{asset "js/policy-popup.js"}}"></script>
<script src="{{asset "js/arrow-fade.js"}}" async></script>
<script src="{{asset "js/scroll-navbar-color.js"}}"></script>
<!-- TODO: REMOVE ON PRODUCTION! -->
<script type="text/javascript" src="http://livejs.com/live.js"></script>
<!-- Scripts End -->
<!-- Begin Posts & Pages only code -->
{{#is "post, page"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/page-style.css"}}" />
<title>{{meta_title}} {{@site.title}}</title>
{{/is}}
<!-- End Posts & Pages only code -->
<!-- Begin Index only code -->
{{#is "index"}}
<title>{{@site.title}}</title>
<link rel="stylesheet" type="text/css" href="{{asset "css/home-style.css"}}" />
{{/is}}
<!-- End Index only code -->
{{ghost_head}}
{{!-- Outputs important meta data and settings, should always be in <head> --}}
</head>
<body class="{{body_class}}" onload="openPolicyPopup()">
<nav id="navbar" class="navbar unselectable">
<a href="/">
<img src="{{@site.icon}}" />
</a>
{{navigation}}
</nav>
<div class="mind-policy-popup" id="mind-policy-popup">
<h4>This website uses cookies.</h4>
<p>We use cookies to ensure you the best experience.
<br>
By visiting our website, you agree with our <a href="/policy" target="_blank">Privacy Policy</a>.
</p>
<button onclick="agreePolicyPopup()">Ok, understood</button>
</div>
{{{body}}}
{{!-- All content gets inserted here, index.hbs, post.hbs, etc --}}
<footer class="mind-site-footer_main unselectable">
<div>
<p>Copyright © 2019-20 ― Lorenzo Dellacà</p>
</div>
<nav class="mind-site-footer_nav">
<a href="/policy/">Privacy Policy</a>
</nav>
</footer>
{{!-- <foot> --}}
{{ghost_foot}}
{{!-- Outputs important scripts - should always be included before closing body tag --}}
</body>
</html>