mnts.dev/index.hbs

39 lines
1.5 KiB
Handlebars
Raw Normal View History

{{!< default}}
2013-08-20 16:53:02 +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 }}
<header id="site-head">
2013-08-28 12:01:39 +00:00
<div class="vertical">
2013-08-28 16:41:32 +00:00
<div id="site-head-content">
<a id="blog-logo" href="{{settings.url}}"><img src="assets/img/user.png" alt="" /></a>
2013-08-28 12:01:39 +00:00
<h1 class="blog-title">{{settings.title}}</h1>
<h2 class="blog-description">A designer, developer and entrepreneur. Spends his time travelling the world with a bag of kites. Likes journalism and publishing platforms.</h2>
</div>
2013-08-20 16:53:02 +00:00
</div>
</header>
{{! The main content area on the homepage }}
2013-08-10 13:06:01 +00:00
<main class="content" role="main">
{{! Each post will be output using this markup }}
2013-08-20 16:53:02 +00:00
{{#foreach posts}}
<article class="{{post_class}}">
2013-08-20 16:53:02 +00:00
<header class="post-header">
<span class="post-meta"><time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format='DD MMM YYYY'}}</time> in <a href="#">What I Learned Building...</a></span>
2013-08-28 16:41:32 +00:00
<h2 class="post-title"><a href="/{{slug}}">{{title}}</a></h2>
2013-08-20 16:53:02 +00:00
</header>
<section class="post-excerpt">
<p>{{excerpt}}&hellip;</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}}
{{!! After all the posts, we have the previous/next pagination links }}
{{pagination}}
2013-08-10 13:06:01 +00:00
</main>