5c231ce
1 2 3 4
{% macro get_time(article, date) -%} {% set datetime = date|strftime('%Y-%m-%d') %} <time datetime="{{datetime}}">{{ article.locale_date|trim }}</time> {%- endmacro %}