quentin.dufour.io/_includes/post-list.html
2015-06-11 12:13:58 -07:00

12 lines
No EOL
401 B
HTML

<ul id="post-list">
{% for post in paginator.posts %}
<li>
<a href='{{ post.url }}'><aside class="dates">{{ post.date | date:"%b %d" }}</aside></a>
<a href='{{ post.url }}'>{{ post.title }} <h2>{{ post.description }}</h2></a>
</li>
{% endfor %}
</ul>
{% if paginator.previous_page or paginator.next_page %}
{% include pagination.html %}
{% endif %}