casper/post.hbs

45 lines
1.8 KiB
Handlebars
Raw Normal View History

{{!< default}}
2013-08-10 16:42:21 +00:00
<main class="content" role="main">
2013-08-10 16:42:21 +00:00
{{#post}}
<article class="{{post_class}}">
<header class="post-header">
<span class="post-meta"><a href="#">John O'Nolan</a> on <a href="#">What I Learned Building...</a></span>
<h1 class="post-title">{{title}}</h1>
</header>
<section class="post-content">
{{content}}
</section>
<footer class="post-footer">
<section class="user-meta">
<img class="user-image" src="http://f.cl.ly/items/2Y3p1W3R0k0t0C2e0Y3f/user.png" alt="User" />
<span class="user-name">John O'Nolan</span>
<span class="user-bio">A designer, developer and entrepreneur. Spends his time travelling the world with a bag of kites. Likes to write.</span>
2013-08-10 16:42:21 +00:00
</section>
<section class="publish-meta">
<span class="publish-heading">Published</span>
<time class="publish-date" datetime="{{date published_at format='YYYY-MM-DD'}}">{{date published_at format='DD MMM YYYY'}}</time>
</section>
</footer>
</article>
{{/post}}
<footer class="related-footer">
<a class="subscribe" href="#"><img src="http://f.cl.ly/items/3t1h041Y310P1b292W2U/rss.png" alt="RSS" /></a>
<article class="related-post">
<h2 class="related-title">The Future of Mankind Depends on Your Voice</h2>
<span class="related-meta">John O'Nolan on The Future</span>
<section class="related-content">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip...</p>
</section>
</article>
</footer>
2013-08-10 16:42:21 +00:00
</main>