Format page dates
This commit is contained in:
parent
5ce6f380e6
commit
69a5ae7ac9
1 changed files with 2 additions and 2 deletions
|
@ -12,12 +12,12 @@
|
||||||
</h2>
|
</h2>
|
||||||
{% if page.date and page.date is defined %}
|
{% if page.date and page.date is defined %}
|
||||||
<p>
|
<p>
|
||||||
<em><strong>Published on</strong>: {{ page.date }}</em>
|
<em><strong>Published on</strong>: {{ page.date | date(format="%A, %e %B %Y", timezone="Europe/Berlin") }}</em>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if page.updated and page.updated != page.date %}
|
{% if page.updated and page.updated != page.date %}
|
||||||
<p>
|
<p>
|
||||||
<em><strong>Last updated on</strong>: {{ page.updated }}</em>
|
<em><strong>Last updated on</strong>: {{ page.updated | date(format="%A, %e %B %Y", timezone="Europe/Berlin") }}</em>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in a new issue