Lorenzo Dellacà
da155c7d7e
- add tags.hbs - add home.hbs, copy of index.hbs - change <h1> global font size make some animations faster - make post title & footer background black instead of animated gradient - make "services" link in navbar white instead of animated gradient - move some css classes to screen.css to allow tags.hbs accessing them - fix policy popup being covered (issue #001) - fix policy popup style - fig kg-bookmark thumbnail image - add PT Serif font - add category and posted date under post title - move big post cards to post-card-big.hbs, so both index, home and tags can access it - mode post post cards style to new post-card-style.css file - update page.hbs, now rendering correctly and including content - add "l" size to package.json, to allow more high-res images
92 lines
2.9 KiB
Handlebars
Executable File
92 lines
2.9 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 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}}
|
||
{{#is "post"}}
|
||
<script src="{{asset "js/remark42-comments.js"}}"></script>
|
||
{{/is}}
|
||
<!-- End Posts & Pages only code -->
|
||
|
||
<!-- Begin Tags only code -->
|
||
{{# is "tag"}}
|
||
<link rel="stylesheet" type="text/css" href="{{asset "css/tag-style.css"}}" />
|
||
{{/is}}
|
||
<!-- End Tags 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}}
|
||
|
||
{{#is "index, tag"}}
|
||
<link rel="stylesheet" type="text/css" href="{{asset "css/post-card-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="{{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>
|