quentin.dufour.io/_includes/post-list.html

15 lines
459 B
HTML
Raw Permalink Normal View History

2015-06-11 19:13:58 +00:00
<ul id="post-list">
2016-01-17 15:43:50 +00:00
{% for post in paginator.posts %}
{% if post.status == "published" %}
2015-06-11 19:13:58 +00:00
<li>
2016-07-16 16:16:31 +00:00
<a href='{{ post.url }}'><aside class="dates">{{ post.date | date:"%d %b %y" }}</aside></a>
2015-06-11 19:13:58 +00:00
<a href='{{ post.url }}'>{{ post.title }} <h2>{{ post.description }}</h2></a>
2016-01-17 15:43:50 +00:00
</li>
{% endif %}
{% endfor %}
2015-06-11 19:13:58 +00:00
</ul>
{% if paginator.previous_page or paginator.next_page %}
{% include pagination.html %}
2016-01-17 15:43:50 +00:00
{% endif %}