2013-05-11 10:16:11 +00:00
|
|
|
{{!< default}}
|
2013-08-20 16:53:02 +00:00
|
|
|
|
2013-09-01 15:02:37 +00:00
|
|
|
{{! 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 }}
|
2013-09-09 17:07:19 +00:00
|
|
|
<header id="site-head" {{#if @blog.cover}}style="background-image: url({{@blog.cover}})"{{/if}}>
|
2013-08-28 12:01:39 +00:00
|
|
|
<div class="vertical">
|
2013-09-01 16:16:24 +00:00
|
|
|
<div id="site-head-content" class="inner">
|
2013-09-02 17:29:11 +00:00
|
|
|
|
|
|
|
{{#if @blog.logo}}<a id="blog-logo" href="{{@blog.url}}"><img src="{{@blog.logo}}" alt="Blog Logo" /></a>{{/if}}
|
|
|
|
<h1 class="blog-title">{{@blog.title}}</h1>
|
|
|
|
<h2 class="blog-description">{{@blog.description}}</h2>
|
2013-08-28 12:01:39 +00:00
|
|
|
</div>
|
2013-08-20 16:53:02 +00:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2013-09-01 15:02:37 +00:00
|
|
|
{{! The main content area on the homepage }}
|
2013-08-10 13:06:01 +00:00
|
|
|
<main class="content" role="main">
|
|
|
|
|
2013-09-01 15:02:37 +00:00
|
|
|
{{! Each post will be output using this markup }}
|
2013-08-20 16:53:02 +00:00
|
|
|
{{#foreach posts}}
|
2013-09-02 21:12:24 +00:00
|
|
|
|
2013-08-26 00:35:53 +00:00
|
|
|
<article class="{{post_class}}">
|
2013-08-20 16:53:02 +00:00
|
|
|
<header class="post-header">
|
2013-09-02 21:12:24 +00:00
|
|
|
<span class="post-meta"><time datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
|
2013-10-09 18:28:59 +00:00
|
|
|
<h2 class="post-title"><a href="{{url}}">{{{title}}}</a></h2>
|
2013-09-09 17:07:19 +00:00
|
|
|
|
2013-08-20 16:53:02 +00:00
|
|
|
</header>
|
|
|
|
<section class="post-excerpt">
|
2013-08-24 22:57:39 +00:00
|
|
|
<p>{{excerpt}}…</p>
|
2013-08-20 16:53:02 +00:00
|
|
|
</section>
|
|
|
|
</article>
|
2013-08-10 13:06:01 +00:00
|
|
|
|
2013-08-20 16:53:02 +00:00
|
|
|
{{/foreach}}
|
2013-09-09 17:07:19 +00:00
|
|
|
|
2013-09-01 15:02:37 +00:00
|
|
|
{{!! After all the posts, we have the previous/next pagination links }}
|
2013-08-22 20:45:00 +00:00
|
|
|
{{pagination}}
|
2013-09-01 15:02:37 +00:00
|
|
|
|
2013-08-10 13:06:01 +00:00
|
|
|
</main>
|