mirror of
https://github.com/welpo/tabi.git
synced 2026-02-15 23:57:19 +01:00
♻️ refactor: format date as "6 July 2049"
Follows Oxford's and other formal style manuals.
This commit is contained in:
parent
7195734d59
commit
4b18391c18
6 changed files with 5 additions and 30 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
<div class="meta">
|
||||
{%- if page.date %}
|
||||
{{ macros_format_date::format_date(date=page.date) }}
|
||||
{{ page.date | date(format=config.extra.date_format | default (value="%d %B %Y")) }}
|
||||
{% endif -%}
|
||||
{% if page.draft %}
|
||||
<span class="draft-label">DRAFT</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue