quentin.dufour.io/_includes/post-list.html
Quentin Dufour b253cb3c41 better date
2016-07-16 12:16:31 -04:00

14 lines
459 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:"%d %b %y" }}</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 %}