Minor cleanup
This commit is contained in:
parent
eeb8b248ca
commit
19a8b85aac
10
author.hbs
10
author.hbs
|
@ -1,10 +1,8 @@
|
||||||
{{!< default}}
|
{{!< default}}
|
||||||
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
|
{{!-- 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}}
|
{{#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}}">
|
<header class="site-header outer {{#if cover_image}}" style="background-image: url({{cover_image}}){{else}}no-cover{{/if}}">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
{{> "site-nav"}}
|
{{> "site-nav"}}
|
||||||
|
@ -39,18 +37,14 @@
|
||||||
</header>
|
</header>
|
||||||
{{/author}}
|
{{/author}}
|
||||||
|
|
||||||
{{!-- The main content area on the homepage --}}
|
{{!-- The main content area --}}
|
||||||
<main class="content" role="main">
|
<main class="content" role="main">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
<div class="post-feed">
|
<div class="post-feed">
|
||||||
{{#foreach posts}}
|
{{#foreach posts}}
|
||||||
|
|
||||||
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
||||||
{{> "post-card"}}
|
{{> "post-card"}}
|
||||||
|
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
9
post.hbs
9
post.hbs
|
@ -1,8 +1,8 @@
|
||||||
{{!< default}}
|
{{!< default}}
|
||||||
|
|
||||||
{{!-- The tag above means: insert everything in this file
|
{{!-- The tag above means: insert everything in this file
|
||||||
into the {body} of the default.hbs template --}}
|
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">
|
<header class="site-header outer">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
{{> "site-nav"}}
|
{{> "site-nav"}}
|
||||||
|
@ -12,7 +12,7 @@ into the {body} of the default.hbs template --}}
|
||||||
{{!-- Everything inside the #post tags pulls data from the post --}}
|
{{!-- Everything inside the #post tags pulls data from the post --}}
|
||||||
{{#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}}
|
{{> floating-header}}
|
||||||
|
|
||||||
<main id="site-main" class="site-main outer" role="main">
|
<main id="site-main" class="site-main outer" role="main">
|
||||||
|
@ -84,6 +84,11 @@ into the {body} of the default.hbs template --}}
|
||||||
</footer>
|
</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">
|
<section class="post-full-comments">
|
||||||
<div id="disqus_thread"></div>
|
<div id="disqus_thread"></div>
|
||||||
<script>
|
<script>
|
||||||
|
|
4
tag.hbs
4
tag.hbs
|
@ -23,15 +23,11 @@
|
||||||
{{!-- The main content area --}}
|
{{!-- The main content area --}}
|
||||||
<main id="site-main" class="site-main outer" role="main">
|
<main id="site-main" class="site-main outer" role="main">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
||||||
<div class="post-feed">
|
<div class="post-feed">
|
||||||
{{#foreach posts}}
|
{{#foreach posts}}
|
||||||
|
|
||||||
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
||||||
{{> "post-card"}}
|
{{> "post-card"}}
|
||||||
|
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
Loading…
Reference in New Issue