Skip to content

Commit

Permalink
Move to Loop partial for post display
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottSmith95 committed Mar 4, 2015
1 parent 25999ba commit 71e4952
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions index.hbs
@@ -0,0 +1,24 @@
{{!< default}}

{{#if @blog.cover}}
<div class="page-scroll">
{{/if}}
{{#if @blog.logo}}
<img class="header-logo blog-logo" src="{{@blog.logo}}" alt="Blog Logo">
{{/if}}
<div class="site-main">

<header class="site-header">
{{#if @blog.title}}<h1 class="blog-title">{{@blog.title}}</h1>{{/if}}
{{#if @blog.description}}<h2 class="blog-description">{{@blog.description}}</h2>{{/if}}

{{navigation}}
</header>

{{! The main content area on the homepage }}
<main class="site-content" role="main">

{{! The tag below includes the post loop - partials/loop.hbs }}
{{> "loop"}}

</main>

0 comments on commit 71e4952

Please sign in to comment.