{# Calculate reading time #}
{% set words = content.html | striptags | split(pat=' ') | length %}
{% set reading_time = (words / 200) | round(method='ceil') %}
<span class="content-date">
<small>{% if content.date %} {{ content.date | default_date_format }} - ⧖ {{ reading_time }} min{% endif %}</small>
</span>