Initial commit
This commit is contained in:
parent
92d12e1072
commit
31be8a2291
31 changed files with 7372 additions and 2 deletions
21
index.hbs
Normal file
21
index.hbs
Normal file
|
@ -0,0 +1,21 @@
|
|||
{{!< default}}
|
||||
{{!-- The tag above means: insert everything in this file
|
||||
into the {body} of the default.hbs template --}}
|
||||
|
||||
{{#is "home"}}
|
||||
{{#if @blog.description}}
|
||||
<header class="page-head">
|
||||
<h2 class="page-head-title">{{@blog.description}}</h2>
|
||||
</header>
|
||||
{{/if}}
|
||||
{{/is}}
|
||||
|
||||
<div class="post-feed">
|
||||
{{#foreach posts}}
|
||||
|
||||
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
||||
{{> "post-card"}}
|
||||
|
||||
{{/foreach}}
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue