{# Check which version of Pelican user is using. If it is <=3.3 than modified is a string If it is >3.3 than modified is a datetime object #} {% if article.locale_modified and article.modified %}

Last Updated

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

Last Updated

{{ article.modified }}
{% endif %}