Minor cleanup

This commit is contained in:
John O'Nolan 2017-06-13 19:07:26 +01:00
parent eeb8b248ca
commit 19a8b85aac
3 changed files with 9 additions and 14 deletions

View file

@ -1,10 +1,8 @@
{{!< default}}
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
{{!-- The big featured header --}}
{{!-- Everything inside the #author tags pulls data from the author --}}
{{#author}}
{{!-- Everything inside the #author tags pulls data from the author --}}
<header class="site-header outer {{#if cover_image}}" style="background-image: url({{cover_image}}){{else}}no-cover{{/if}}">
<div class="inner">
{{> "site-nav"}}
@ -39,18 +37,14 @@
</header>
{{/author}}
{{!-- The main content area on the homepage --}}
{{!-- The main content area --}}
<main class="content" role="main">
<div class="inner">
<div class="post-feed">
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
</div>
</div>
</main>

View file

@ -1,8 +1,8 @@
{{!< default}}
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
{{!-- The big featured header, it uses blog cover image as a BG if available --}}
<header class="site-header outer">
<div class="inner">
{{> "site-nav"}}
@ -12,7 +12,7 @@ into the {body} of the default.hbs template --}}
{{!-- Everything inside the #post tags pulls data from the post --}}
{{#post}}
{{!-- Floating header which appears on-scroll, pulled from includes/floating-header.hbs --}}
{{!-- Floating header which appears on-scroll, included from includes/floating-header.hbs --}}
{{> floating-header}}
<main id="site-main" class="site-main outer" role="main">
@ -84,6 +84,11 @@ into the {body} of the default.hbs template --}}
</footer>
{{!--
If you use Disqus comments, just uncomment this block.
The only thing you need to change is "test-apkdzgmqhj" - which
should be replaced with your own Disqus site-id.
<section class="post-full-comments">
<div id="disqus_thread"></div>
<script>

View file

@ -23,15 +23,11 @@
{{!-- The main content area --}}
<main id="site-main" class="site-main outer" role="main">
<div class="inner">
<div class="post-feed">
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
</div>
</div>
</main>