WIP: blog implementation on homepage

This commit is contained in:
Lorenzo Dellacà
2020-08-12 18:55:35 +02:00
parent ba5943c94a
commit 359e6108c9
8 changed files with 215 additions and 199 deletions

View File

@@ -7,27 +7,30 @@
<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 -->
{{#is "post, page"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/page-style.css"}}" />
<!-- Begin Posts & Pages only code -->
{{#is "post, page"}}
<title>{{@site.title}} - {{meta_title}}</title>
<link rel="stylesheet" type="text/css" href="{{asset "css/page-style.css"}}" />
<!-- Scripts Begin -->
<script src="{{asset "js/arrow-fade.js"}}" async></script>
<!-- Scripts End -->
{{/is}}
<title>{{@site.title}} - {{meta_title}}</title>
{{#is "index"}}
<title>{{meta_title}}</title>
{{/is}}
<!-- End Posts & Pages only code -->
<link rel="stylesheet" type="text/css" href="{{asset "css/home-style.css"}}" />
{{/is}}
<!-- 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}}
@@ -48,11 +51,9 @@
{{!-- All content gets inserted here, index.hbs, post.hbs, etc --}}
{{#is "post, page"}}
<footer>
<h4>Copyright © 2019-20 ― Lorenzo Dellacà</h4>
</footer>
{{/is}}
<footer class="unselectable">
<h4>Copyright © 2019-20 ― Lorenzo Dellacà</h4>
</footer>
{{!-- <foot> --}}
{{ghost_foot}}