better date

This commit is contained in:
Quentin Dufour 2016-07-16 12:16:31 -04:00
parent 97d1e95d05
commit b253cb3c41

View file

@ -2,7 +2,7 @@
{% for post in paginator.posts %} {% for post in paginator.posts %}
{% if post.status == "published" %} {% if post.status == "published" %}
<li> <li>
<a href='{{ post.url }}'><aside class="dates">{{ post.date | date:"%b %d" }}</aside></a> <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> <a href='{{ post.url }}'>{{ post.title }} <h2>{{ post.description }}</h2></a>
</li> </li>
{% endif %} {% endif %}