began structuring index page. posts now show correctly on a 1920x1080 screen.
This commit is contained in:
133
default.hbs
Normal file → Executable file
133
default.hbs
Normal file → Executable file
@@ -1,62 +1,71 @@
|
||||
<!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>
|
||||
<!-- Scripts End -->
|
||||
|
||||
<!-- Begin Posts & Pages only code -->
|
||||
{{#is "post, page"}}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="{{asset "css/page-style.css"}}" />
|
||||
|
||||
<title>{{@site.title}} - {{meta_title}}</title>
|
||||
|
||||
{{/is}}
|
||||
<!-- End Posts & Pages only code -->
|
||||
|
||||
<!-- Begin Index only code -->
|
||||
{{#is "index"}}
|
||||
<title>{{meta_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()">
|
||||
<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="/pages/policy.html" 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="unselectable">
|
||||
<h4>Copyright © 2019-20 ― Lorenzo Dellacà</h4>
|
||||
</footer>
|
||||
|
||||
{{!-- <foot> --}}
|
||||
{{ghost_foot}}
|
||||
{{!-- Outputs important scripts - should always be included before closing body tag --}}
|
||||
</body>
|
||||
</html>
|
||||
<!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>{{@site.title}} - {{meta_title}}</title>
|
||||
|
||||
{{/is}}
|
||||
<!-- End Posts & Pages only code -->
|
||||
|
||||
<!-- Begin Index only code -->
|
||||
{{#is "index"}}
|
||||
<title>{{meta_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()">
|
||||
|
||||
<div id="navbar" class="navbar unselectable">
|
||||
{{navigation}}
|
||||
</div>
|
||||
|
||||
<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="/pages/policy.html" 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 unselectable">
|
||||
<h4>Copyright © 2019-20 ― Lorenzo Dellacà</h4>
|
||||
</footer>
|
||||
|
||||
{{!-- <foot> --}}
|
||||
{{ghost_foot}}
|
||||
{{!-- Outputs important scripts - should always be included before closing body tag --}}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user