2013-05-11 06:16:11 -04:00
|
|
|
{{!< default}}
|
2013-08-20 12:53:02 -04:00
|
|
|
|
2013-09-01 11:02:37 -04: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-08-25 20:35:53 -04:00
|
|
|
<header id="site-head">
|
2013-08-28 08:01:39 -04:00
|
|
|
<div class="vertical">
|
2013-09-01 12:16:24 -04:00
|
|
|
<div id="site-head-content" class="inner">
|
|
|
|
<a id="blog-logo" href="{{settings.url}}"><img src="/assets/img/user.png" alt="" /></a>
|
2013-08-28 08:01:39 -04:00
|
|
|
<h1 class="blog-title">{{settings.title}}</h1>
|
2013-09-01 15:45:19 -04:00
|
|
|
<h2 class="blog-description">{{settings.description}}</h2>
|
2013-08-28 08:01:39 -04:00
|
|
|
</div>
|
2013-08-20 12:53:02 -04:00
|
|
|
</div>
|
|
|
|
</header>
|
|
|
|
|
2013-09-01 11:02:37 -04:00
|
|
|
{{! The main content area on the homepage }}
|
2013-08-10 09:06:01 -04:00
|
|
|
<main class="content" role="main">
|
|
|
|
|
2013-09-01 11:02:37 -04:00
|
|
|
{{! Each post will be output using this markup }}
|
2013-08-20 12:53:02 -04:00
|
|
|
{{#foreach posts}}
|
2013-09-01 11:02:37 -04:00
|
|
|
|
2013-08-25 20:35:53 -04:00
|
|
|
<article class="{{post_class}}">
|
2013-08-20 12:53:02 -04:00
|
|
|
<header class="post-header">
|
2013-09-02 04:33:16 -04:00
|
|
|
<span class="post-meta"><time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format="DD MMM YYYY"}}</time> {{#if tags}}on {{tags}}{{/if}}</span>
|
2013-08-28 12:41:32 -04:00
|
|
|
<h2 class="post-title"><a href="/{{slug}}">{{title}}</a></h2>
|
|
|
|
|
2013-08-20 12:53:02 -04:00
|
|
|
</header>
|
|
|
|
<section class="post-excerpt">
|
2013-08-24 18:57:39 -04:00
|
|
|
<p>{{excerpt}}…</p>
|
2013-08-20 12:53:02 -04:00
|
|
|
</section>
|
|
|
|
</article>
|
2013-08-10 09:06:01 -04:00
|
|
|
|
2013-08-20 12:53:02 -04:00
|
|
|
{{/foreach}}
|
2013-09-01 11:02:37 -04:00
|
|
|
|
|
|
|
{{!! After all the posts, we have the previous/next pagination links }}
|
2013-08-22 16:45:00 -04:00
|
|
|
{{pagination}}
|
2013-09-01 11:02:37 -04:00
|
|
|
|
2013-08-10 09:06:01 -04:00
|
|
|
</main>
|