Skip to content

Instantly share code, notes, and snippets.

@cdevroe
Created February 15, 2013 22:07
Show Gist options
  • Save cdevroe/4963956 to your computer and use it in GitHub Desktop.
Save cdevroe/4963956 to your computer and use it in GitHub Desktop.
Barley_exampleblogindex
<!-- repeat:blogpost:5 -->
<article>
<h2 class="title">
<a href="%URL%">%TITLE%</a>
</h2>
<div class="meta">
<h4 class="author">
Written by <span class="emphasize">%AUTHOR%</span> <span class="date">Published on <a href="%URL%" class="published_on" data-barley-publish-post="%ID%">%PUBLISHED_ON%</a></span>
</h4>
</div>
<div>%BODY%</div>
</article>
<!-- endrepeat -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment