2017-02-06 17:32:40 +03:00
|
|
|
{{!< default}}
|
2017-09-21 17:05:35 +03:00
|
|
|
{{!-- The tag above means: insert everything in this file
|
|
|
|
into the {body} of the default.hbs template --}}
|
2017-02-06 17:32:40 +03:00
|
|
|
|
2017-09-21 17:05:35 +03:00
|
|
|
{{!-- The big featured header, it uses blog cover image as a BG if available --}}
|
|
|
|
<header class="site-header outer {{#if @blog.cover_image}}" style="background-image: url({{@blog.cover_image}}){{else}}no-cover{{/if}}">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="site-header-content">
|
|
|
|
<h1 class="site-title">
|
|
|
|
{{#if @blog.logo}}
|
|
|
|
<img class="site-logo" src="{{@blog.logo}}" alt="{{@blog.title}}" />
|
|
|
|
{{else}}
|
|
|
|
{{@blog.title}}
|
|
|
|
{{/if}}
|
|
|
|
</h1>
|
|
|
|
<h2 class="site-description">{{@blog.description}}</h2>
|
2017-02-06 17:32:40 +03:00
|
|
|
</div>
|
2017-09-21 17:05:35 +03:00
|
|
|
{{> "site-nav"}}
|
2017-02-06 17:32:40 +03:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2017-09-21 17:05:35 +03:00
|
|
|
{{!-- The main content area --}}
|
|
|
|
<main id="site-main" class="site-main outer" role="main">
|
|
|
|
<div class="inner">
|
2017-02-06 17:32:40 +03:00
|
|
|
|
2017-09-21 17:05:35 +03:00
|
|
|
<div class="post-feed">
|
|
|
|
{{#foreach posts}}
|
2017-02-06 17:32:40 +03:00
|
|
|
|
2017-09-21 17:05:35 +03:00
|
|
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
|
|
|
{{> "post-card"}}
|
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2017-02-06 17:32:40 +03:00
|
|
|
</main>
|