Created
February 9, 2018 01:59
-
-
Save waterswv/5ca8f3e92ebd0032845ddd13d6e0ed9f to your computer and use it in GitHub Desktop.
HTML snippet for post with handlebars.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Excerpts --> | |
<section id='sideposts'> | |
<ul class="divided"> | |
{{# each sidePosts}} | |
<li> | |
<!-- Excerpt --> | |
<article class="box excerpt"> | |
<header> | |
<span class="date">{{this.formattedDate}}</span> | |
<h3><a href="/{{this.slug}}">{{{this.postTitle}}}</a></h3> | |
</header> | |
<p>{{this.sidePostContent}} | |
</p> | |
</article> | |
</li> | |
{{/each}} | |
</ul> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment