feat: allow dual date-format (short/long)

This commit is contained in:
welpo
2023-03-10 23:25:54 +01:00
parent e93b33e6b8
commit 9887fb0a6f
9 changed files with 92 additions and 51 deletions

View File

@@ -13,7 +13,7 @@
{% if post.date %}
<div class="date">
{{ post.date | date(format=config.extra.date_format | default (value="%d %B %Y")) }}
{{ macros_format_date::format_date(date=post.date, short=false) }}
</div>
{% endif %}