Pass the post explicitly

This commit is contained in:
Oliver Davies 2019-06-06 19:40:10 +01:00
parent 3248015166
commit 0371dd89ce

View file

@ -13,6 +13,7 @@ use: [posts]
{% for post in data.posts %}
<article class="p-4 {{ post.draft ? 'bg-blue-200' }}">
{% include 'blog/post-summary' with {
post: post,
show_date: true,
} %}
</article>