add date to posts list

This commit is contained in:
Ayo 2023-03-20 14:45:10 +01:00
parent 9a6e8dd18f
commit 4bf5c7c094
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@ layout: default
</h3>
</div>
<div class="blog-home__list-items__item__header__description">
<span>{{post.date | date_to_string}}</span>
<span>{{post.description}}</span>
</div>
</div>

View file

@ -20,7 +20,7 @@ layout: default
<div class="blog-post__header__meta">
<span>
<time
datetime="{{ page.date | date_to_xmlschema }}"
datetime="{{ page.date | date: "%-d %B %Y" }}"
itemprop="datePublished"
>
{% if page.author %} By