22 lines
473 B
Handlebars
22 lines
473 B
Handlebars
{{!< default}}
|
|
{{!-- The tag above means: insert everything in this file
|
|
into the {body} of the default.hbs template --}}
|
|
|
|
{{#is "home"}}
|
|
{{#if @site.description}}
|
|
<header class="page-head">
|
|
<h2 class="page-head-title">{{@site.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>
|
|
|