Fix default.hbs indentation

This commit is contained in:
Bea 2020-11-10 21:58:58 +01:00
parent 40396bb835
commit 6fbeeb7303
1 changed files with 49 additions and 48 deletions

View File

@ -1,66 +1,67 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{@site.lang}}"> <html lang="{{@site.lang}}">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" /> <link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}"/>
{{!-- Scripts Begin --}} {{!-- Scripts Begin --}}
<script src="{{asset "js/jquery-3.5.1.js"}}"></script> <script src="{{asset "js/jquery-3.5.1.js"}}"></script>
<script src="{{asset "js/policy-popup.js"}}"></script> <script src="{{asset "js/policy-popup.js"}}"></script>
<script src="{{asset "js/arrow-fade.js"}}" async></script> <script src="{{asset "js/arrow-fade.js"}}" async></script>
<script src="{{asset "js/scroll-navbar-color.js"}}"></script> <script src="{{asset "js/scroll-navbar-color.js"}}"></script>
{{#is "post"}} {{#is "post"}}
<script src="{{asset "js/get-headers-list.js"}}"></script> <script src="{{asset "js/get-headers-list.js"}}"></script>
{{/is}} {{/is}}
{{!-- TODO: REMOVE ON PRODUCTION! --}} {{!-- TODO: REMOVE ON PRODUCTION! --}}
<script type="text/javascript" src="http://livejs.com/live.js"></script> <script type="text/javascript" src="http://livejs.com/live.js"></script>
{{!-- Scripts End --}} {{!-- Scripts End --}}
{{!-- Begin Page-specific code --}} {{!-- Begin Page-specific code --}}
{{#is "post"}} {{#is "post"}}
<script src="{{asset "js/remark42-comments.js"}}"></script> <script src="{{asset "js/remark42-comments.js"}}"></script>
{{/is}} {{/is}}
{{#is "index"}} {{#is "index"}}
<title>{{@site.title}}</title> <title>{{@site.title}}</title>
{{/is}} {{/is}}
{{# is "post, page, tag"}} {{# is "post, page, tag"}}
<title>{{meta_title}} {{@site.title}}</title> <title>{{meta_title}} {{@site.title}}</title>
{{/is}} {{/is}}
{{!-- End Page-specific code --}} {{!-- End Page-specific code --}}
{{ghost_head}} {{ghost_head}}
{{!-- Outputs important meta data and settings, should always be in <head> --}} {{!-- Outputs important meta data and settings, should always be in <head> --}}
</head> </head>
<body class="{{body_class}}" onload="openPolicyPopup()"> <body class="{{body_class}}" onload="openPolicyPopup()">
{{> "navbar-primary"}} {{> "navbar-primary"}}
{{> "policy-popup"}} {{!-- Todo: maybe we shouldn't include the whole HTML in every page (hidden) {{{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 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. --}} engines might scan the policy popup too. --}}
{{{body}}} <footer class="mind-site-footer_main unselectable">
{{!-- All content gets inserted here, index.hbs, post.hbs, etc --}} <div>
<p>Copyright © 2019-20 ― Lorenzo Dellacà</p>
</div>
<nav class="mind-site-footer_nav">
<a href="/policy/">Privacy Policy</a>
</nav>
</footer>
<footer class="mind-site-footer_main unselectable"> {{!-- <foot> --}}
<div> {{ghost_foot}}
<p>Copyright © 2019-20 ― Lorenzo Dellacà</p> {{!-- Outputs important scripts - should always be included before closing body tag --}}
</div> </body>
<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> </html>