Added update date to post cards.

This commit is contained in:
Ahmet Bakan 2014-08-22 20:33:57 -04:00
parent d9996e520f
commit cf9162acb5

View file

@ -1,3 +1,8 @@
{% if post.published and post.date != post.update %}
<li>{% if fa %}<i class="fa fa-pencil-square-o"></i>{% else %}{{ gettext('Update') }}:{% endif %}
{{ post.update.strftime("%b %d, %Y") }}</li>
{% endif %}
{% if post.author %}
<li>{% if fa %}<i class="fa-fw fa fa-user"></i>{% else %}{{ gettext('Author') }}:{% endif %}
{% for coll in post.author %}