Show date on archive page

This commit is contained in:
Oliver Davies 2019-03-07 02:46:46 +00:00
parent d595d425cd
commit d5028b9110
2 changed files with 8 additions and 2 deletions

View file

@ -18,7 +18,9 @@ use: [posts]
<div class="-mx-4 spaced-y-4">
{% for post in data.posts %}
<article class="p-4 {{ post.draft ? 'bg-blue-lighter' }}">
{% include 'blog/post-summary' %}
{% include 'blog/post-summary' with {
show_date: true,
} %}
</article>
{% endfor %}
</div>