diff --git a/templates/_includes/last_updated.html b/templates/_includes/last_updated.html index f7facea6..9ccd54e4 100644 --- a/templates/_includes/last_updated.html +++ b/templates/_includes/last_updated.html @@ -3,10 +3,12 @@ If it is >3.3 than modified is a datetime object #} {% if article.locale_modified and article.modified %} - +{% set delta = (article.modified - article.date).days %} +{% if delta > 0 %}

Last Updated

{% set day = article.modified.strftime('%d')|int %} +{% endif %} {% elif article.modified %}

Last Updated