add modified date to article

This commit is contained in:
pajowu 2016-01-16 22:16:09 +02:00
parent 52f805521e
commit 5c8deddc86

View File

@ -52,6 +52,9 @@
{% endfor %} {% endfor %}
on {{ article.locale_date }} on {{ article.locale_date }}
</span> </span>
{% if article.modified %}
<span class="meta">Updated on {{ article.locale_modified }}</span>
{% endif %}
{% import 'translations.html' as translations with context %} {% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }} {{ translations.translations_for(article) }}
</div> </div>