2014-03-18 20:10:43 -04: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 }}
|
|
|
|
<header class="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
|
|
|
|
<div class="vertical">
|
|
|
|
<div class="site-head-content inner">
|
2014-03-27 06:47:45 -04:00
|
|
|
<a class="blog-logo" href="{{@blog.url}}">
|
|
|
|
{{#if @blog.logo}}
|
|
|
|
<img src="{{@blog.logo}}" alt="Blog Logo" />
|
|
|
|
{{/if}}
|
|
|
|
</a>
|
2014-04-07 06:03:27 -04:00
|
|
|
<h1 class="blog-title">{{@blog.title}}</h1>
|
2014-03-18 20:10:43 -04:00
|
|
|
<h2 class="blog-description">{{@blog.description}}</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{! The main content area on the homepage }}
|
|
|
|
<main class="content" role="main">
|
|
|
|
|
|
|
|
<header class="tag-archive-header">
|
|
|
|
<h1>{{tag.name}}</h1>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
{{! 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">
|
|
|
|
<p>{{excerpt}}…</p>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
|
|
|
|
{{!! After all the posts, we have the previous/next pagination links }}
|
|
|
|
{{pagination}}
|
|
|
|
|
|
|
|
</main>
|