Lorenzo Dellacà
67344effd0
CSS code was divided in multiple files, however this was not practical for organization since different pages needed different CSS classes one another, that were in most of those CSS files. This commit brings (mostly) everything in one file with a table of contents on top. An exception is made for fonts, that are now in a separate "fonts.css" file, since they contain fundamentally different things. Classes organization is not yet complete, however a great part was done. Next commits will finalize this organization and finish moving classes. Signed-off-by: Lorenzo Dellacà <lorenzo.dellaca@mind-overflow.net>
80 lines
2.5 KiB
Handlebars
Executable File
80 lines
2.5 KiB
Handlebars
Executable File
<!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 Page-specific code -->
|
||
{{#is "post, page"}}
|
||
<link rel="stylesheet" type="text/css" href="{{asset "css/page-style.css"}}" />
|
||
{{/is}}
|
||
|
||
{{#is "post"}}
|
||
<script src="{{asset "js/remark42-comments.js"}}"></script>
|
||
{{/is}}
|
||
|
||
{{#is "index"}}
|
||
<title>{{@site.title}}</title>
|
||
{{/is}}
|
||
|
||
{{# is "post, page, tag"}}
|
||
<title>{{meta_title}} – {{@site.title}}</title>
|
||
{{/is}}
|
||
|
||
<!-- End Page-specific code -->
|
||
|
||
{{ghost_head}}
|
||
{{!-- Outputs important meta data and settings, should always be in <head> --}}
|
||
|
||
</head>
|
||
<body class="{{body_class}}" onload="openPolicyPopup()">
|
||
|
||
<nav id="mind-global-navbar_primary" class="mind-global-navbar_primary unselectable">
|
||
<a href="/">
|
||
<img src="{{img_url @site.icon size="xxs"}}" />
|
||
</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>
|