2013-05-11 06:16:11 -04:00
|
|
|
{{!< default}}
|
2017-05-15 16:03:47 -04:00
|
|
|
{{!-- The tag above means: insert everything in this file
|
|
|
|
into the {body} of the default.hbs template --}}
|
2013-08-20 12:53:02 -04:00
|
|
|
|
2017-05-15 16:03:47 -04: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>
|
2013-08-28 08:01:39 -04:00
|
|
|
</div>
|
2017-06-13 14:02:22 -04:00
|
|
|
{{> "site-nav"}}
|
2013-08-20 12:53:02 -04:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2017-05-15 16:03:47 -04:00
|
|
|
{{!-- The main content area --}}
|
2018-04-17 16:19:05 -04:00
|
|
|
<main id="site-main" class="site-main outer">
|
2017-05-15 16:03:47 -04:00
|
|
|
<div class="inner">
|
2013-08-10 09:06:01 -04:00
|
|
|
|
2017-06-12 05:01:00 -04:00
|
|
|
<div class="post-feed">
|
|
|
|
{{#foreach posts}}
|
|
|
|
|
|
|
|
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
|
|
|
|
{{> "post-card"}}
|
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
2013-09-01 11:02:37 -04:00
|
|
|
|
2017-05-15 16:03:47 -04:00
|
|
|
</div>
|
2015-02-28 07:34:58 -05:00
|
|
|
</main>
|