Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnONolan committed Jun 13, 2017
1 parent eeb8b24 commit 19a8b85
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
10 changes: 2 additions & 8 deletions author.hbs
Original file line number Diff line number Diff line change
@@ -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"}}
Expand Down Expand Up @@ -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>
9 changes: 7 additions & 2 deletions post.hbs
Original file line number Diff line number Diff line change
@@ -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"}}
Expand All @@ -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">
Expand Down Expand Up @@ -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>
Expand Down
4 changes: 0 additions & 4 deletions tag.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 19a8b85

Please sign in to comment.