2013-05-11 06:16:11 -04:00
|
|
|
{{!< default}}
|
2013-08-10 08:36:03 -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. }}
|
2013-08-11 10:39:25 -04:00
|
|
|
|
2013-09-01 11:02:37 -04:00
|
|
|
<main class="content" role="main">
|
|
|
|
|
|
|
|
{{! Everything inside the #post tags is the template used to ourput the post }}
|
2013-08-10 12:42:21 -04:00
|
|
|
{{#post}}
|
2013-08-10 08:36:03 -04:00
|
|
|
|
2013-08-25 20:35:53 -04:00
|
|
|
<article class="{{post_class}}">
|
2013-09-01 11:02:37 -04:00
|
|
|
|
|
|
|
{{! Each post has the blog logo at the top, with a link back to the homage page }}
|
2013-08-11 10:39:25 -04:00
|
|
|
<header class="post-header">
|
2013-08-28 12:41:32 -04:00
|
|
|
<a id="blog-logo" href="{{../settings.url}}"><img src="assets/img/user.png" alt="" /></a>
|
2013-08-11 10:39:25 -04:00
|
|
|
</header>
|
2013-08-28 12:41:32 -04:00
|
|
|
|
2013-09-01 11:02:37 -04:00
|
|
|
{{! Everything below outputs content of the the post which has been published }}
|
2013-08-28 12:41:32 -04:00
|
|
|
<span class="post-meta"><time datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format='DD MMM YYYY'}}</time> on <a href="#">What I Learned Building...</a></span>
|
2013-09-01 11:02:37 -04:00
|
|
|
|
2013-08-28 12:41:32 -04:00
|
|
|
<h1 class="post-title">{{title}}</h1>
|
2013-08-11 10:39:25 -04:00
|
|
|
|
|
|
|
<section class="post-content">
|
|
|
|
{{content}}
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
2013-08-27 14:41:41 -04:00
|
|
|
{{/post}}
|
|
|
|
|
2013-08-10 12:42:21 -04:00
|
|
|
</main>
|