Created
May 23, 2014 11:18
-
-
Save matt-west/9a99994033bb12ebfce2 to your computer and use it in GitHub Desktop.
Postach.io: Posts Loop
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
{% for post in posts %} | |
<div class="item"> | |
<h3><a href="{{ post.permalink }}">{{ post.title }}</a></h3> | |
<div class="post-content" data-type-cleanup="true"> | |
{{ post.content }} | |
</div> | |
<a class="post-author" href="{{ site.base_url }}"> | |
<img src="{{ post.author.avatar }}" /> | |
<p> | |
<span class="post-author-name">{{ post.author.name }}</span> | |
<span class="post-date">on {{ post.created_at|format_date }}</span> | |
</p> | |
</a> | |
</div> | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment