mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 07:46:15 +02:00
✨ feat: allow dual date-format (short/long)
This commit is contained in:
parent
e93b33e6b8
commit
9887fb0a6f
9 changed files with 92 additions and 51 deletions
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue