2014-03-19 00:10:43 +00:00
|
|
|
{{!< default}}
|
|
|
|
|
|
|
|
{{! The comment above "< default" means - insert everything in this file into
|
|
|
|
the {body} of the default.hbs template, which contains our header/footer. }}
|
|
|
|
|
|
|
|
{{! The big featured header on the homepage, with the site logo and description }}
|
2014-07-21 12:45:34 +00:00
|
|
|
<header class="tag-head main-header" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
|
2014-07-20 14:43:44 +00:00
|
|
|
<nav class="main-nav overlay clearfix">
|
|
|
|
<a class="back-button icon-arrow-left" href="{{@blog.url}}">Home</a>
|
|
|
|
<a class="subscribe-button icon-feed" href="{{@blog.url}}/rss/">Subscribe</a>
|
|
|
|
</nav>
|
2014-03-19 00:10:43 +00:00
|
|
|
<div class="vertical">
|
2014-07-21 12:45:34 +00:00
|
|
|
<div class="main-header-content inner">
|
|
|
|
<h1 class="page-title">{{tag.name}}</h1>
|
|
|
|
<h2 class="page-description">A {{pagination.total}}-post collection</h2>
|
2014-03-19 00:10:43 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{! The main content area on the homepage }}
|
|
|
|
<main class="content" role="main">
|
|
|
|
|
2014-07-21 12:45:34 +00:00
|
|
|
{{! Previous/next page links - only displayed on page 2+ }}
|
|
|
|
<div class="extra-pagination inner">
|
|
|
|
{{pagination}}
|
|
|
|
</div>
|
|
|
|
|
2014-03-19 00:10:43 +00:00
|
|
|
{{! Each post will be output using this markup }}
|
|
|
|
{{#foreach posts}}
|
|
|
|
<article class="{{post_class}}">
|
|
|
|
<header class="post-header">
|
|
|
|
<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{tags prefix="on "}}</span>
|
|
|
|
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
|
|
|
|
|
|
|
|
</header>
|
|
|
|
<section class="post-excerpt">
|
2014-07-21 12:45:34 +00:00
|
|
|
<p>{{excerpt}} <a class="read-more" href="{{url}}">»</a></p>
|
2014-03-19 00:10:43 +00:00
|
|
|
</section>
|
|
|
|
</article>
|
|
|
|
{{/foreach}}
|
|
|
|
|
2014-07-20 14:43:44 +00:00
|
|
|
{{! After all the posts, we have the previous/next pagination links }}
|
2014-03-19 00:10:43 +00:00
|
|
|
{{pagination}}
|
|
|
|
|
|
|
|
</main>
|