casper-i18n/index.hbs

36 lines
1.0 KiB
Handlebars
Raw Normal View History

{{!< default}}
2017-05-15 20:03:47 +00:00
{{!-- The tag above means: insert everything in this file
into the {body} of the default.hbs template --}}
2013-08-20 16:53:02 +00:00
2018-12-17 12:25:57 +00:00
{{> header background=@blog.cover_image}} {{!--Special header.hbs partial to generate the <header> tag--}}
2017-05-15 20:03:47 +00:00
<div class="inner">
<div class="site-header-content">
<h1 class="site-title">
{{#if @blog.logo}}
2018-12-17 12:25:57 +00:00
<img class="site-logo" src="{{img_url @blog.logo size="s"}}" alt="{{@blog.title}}" />
2017-05-15 20:03:47 +00:00
{{else}}
{{@blog.title}}
{{/if}}
</h1>
<h2 class="site-description">{{@blog.description}}</h2>
2013-08-28 12:01:39 +00:00
</div>
2017-06-13 18:02:22 +00:00
{{> "site-nav"}}
2013-08-20 16:53:02 +00:00
</div>
</header>
2017-05-15 20:03:47 +00:00
{{!-- The main content area --}}
<main id="site-main" class="site-main outer">
2017-05-15 20:03:47 +00:00
<div class="inner">
2013-08-10 13:06:01 +00:00
2017-06-12 09:01:00 +00:00
<div class="post-feed">
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
</div>
2017-05-15 20:03:47 +00:00
</div>
2015-02-28 12:34:58 +00:00
</main>