quentin.dufour.io/_includes/post-list.html
2016-01-17 10:43:50 -05:00

14 lines
456 B
HTML

<ul id="post-list">
{% for post in paginator.posts %}
{% if post.status == "published" %}
<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>
{% endif %}
{% endfor %}
</ul>
{% if paginator.previous_page or paginator.next_page %}
{% include pagination.html %}
{% endif %}