Global templates and 404

This commit is contained in:
John O'Nolan 2019-11-08 18:04:38 +07:00
parent 5e970154fa
commit 9fac3beb29
10 changed files with 149 additions and 152 deletions

View file

@ -1,22 +1,15 @@
{{!< default}}
<div class="gh-container">
<div class="gh-page">
<div class="gh-container">
{{#is "home"}}
{{#if @site.description}}
<header class="page-head">
<h2 class="page-head-title">{{@site.description}}</h2>
</header>
{{/if}}
{{/is}}
<div class="post-feed">
{{#foreach posts}}
<div class="post-feed">
{{#foreach posts}}
{{> "post-card"}} {{!-- partials/post-card.hbs --}}
{{> "post-card"}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{/foreach}}
</div>
{{/foreach}}
</div>
</div>