render dates in %Y/%m/%d
This commit is contained in:
parent
2fd9ed8b98
commit
442a9237ed
|
@ -17,7 +17,7 @@
|
|||
<h1>
|
||||
{{ page.title }}
|
||||
</h1>
|
||||
<p><strong>{{ page.date }}</strong></p>
|
||||
<p><strong>{{ page.date | date(format="%Y/%m/%d") }}</strong></p>
|
||||
|
||||
{{ page.content | safe }}
|
||||
|
||||
|
|
|
@ -13,7 +13,9 @@
|
|||
<div>
|
||||
<a href="{{ page.permalink | safe }}">{{ page.title }}</a>
|
||||
</div>
|
||||
<div class="subtitle">{{ page.description }} <span class="date">({{ page.date }})</span></div>
|
||||
<div class="subtitle">{{ page.description }}
|
||||
<span class="date">({{ page.date | date(format="%Y/%m/%d") }})</span>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue