2014-03-19 00:10:43 +00:00
|
|
|
{{!< default}}
|
2016-05-08 08:50:20 +00:00
|
|
|
{{!-- The tag above means - insert everything in this file into the {body} of the default.hbs template --}}
|
2014-03-19 00:10:43 +00:00
|
|
|
|
2016-05-08 08:50:20 +00:00
|
|
|
{{!-- If we have a tag cover, display that - else blog cover - else nothing --}}
|
2014-12-23 11:50:59 +00:00
|
|
|
<header class="main-header tag-head {{#if tag.image}}" style="background-image: url({{tag.image}}){{else}}{{#if @blog.cover}}" style="background-image: url({{@blog.cover}}){{else}}no-cover{{/if}}{{/if}}">
|
2014-07-20 14:43:44 +00:00
|
|
|
<nav class="main-nav overlay clearfix">
|
2015-05-15 21:01:01 +00:00
|
|
|
{{#if @blog.logo}}<a class="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="{{@blog.title}}" /></a>{{/if}}
|
2015-02-28 13:00:15 +00:00
|
|
|
{{#if @blog.navigation}}
|
2015-03-23 16:21:53 +00:00
|
|
|
<a class="menu-button icon-menu" href="#"><span class="word">Menu</span></a>
|
2015-02-27 14:48:15 +00:00
|
|
|
{{/if}}
|
2014-07-20 14:43:44 +00:00
|
|
|
</nav>
|
2014-03-19 00:10:43 +00:00
|
|
|
<div class="vertical">
|
2016-05-08 09:01:25 +00:00
|
|
|
{{#tag}}
|
2014-07-21 12:45:34 +00:00
|
|
|
<div class="main-header-content inner">
|
2016-05-08 09:01:25 +00:00
|
|
|
<h1 class="page-title">{{name}}</h1>
|
2014-12-23 11:50:59 +00:00
|
|
|
<h2 class="page-description">
|
2016-05-08 09:01:25 +00:00
|
|
|
{{#if description}}
|
|
|
|
{{description}}
|
2014-12-23 11:50:59 +00:00
|
|
|
{{else}}
|
2016-05-08 09:01:25 +00:00
|
|
|
A {{../pagination.total}}-post collection
|
2014-12-23 11:50:59 +00:00
|
|
|
{{/if}}
|
2014-12-23 12:21:53 +00:00
|
|
|
</h2>
|
2014-03-19 00:10:43 +00:00
|
|
|
</div>
|
2016-05-08 09:01:25 +00:00
|
|
|
{{/tag}}
|
2014-03-19 00:10:43 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2016-05-08 08:50:20 +00:00
|
|
|
{{!-- The main content area on the homepage --}}
|
2014-03-19 00:10:43 +00:00
|
|
|
<main class="content" role="main">
|
|
|
|
|
2016-05-08 08:50:20 +00:00
|
|
|
{{!-- The tag below includes the post loop - partials/loop.hbs --}}
|
2014-07-21 16:20:36 +00:00
|
|
|
{{> "loop"}}
|
2014-03-19 00:10:43 +00:00
|
|
|
|
2014-12-23 11:50:59 +00:00
|
|
|
</main>
|