Show date on archive page
This commit is contained in:
parent
7c0011c55a
commit
fa2f2b73df
2 changed files with 8 additions and 2 deletions
|
@ -13,7 +13,9 @@ use: [posts]
|
|||
<div class="-mt-4 -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue