Pass the post explicitly
This commit is contained in:
parent
3248015166
commit
0371dd89ce
|
@ -13,6 +13,7 @@ use: [posts]
|
||||||
{% for post in data.posts %}
|
{% for post in data.posts %}
|
||||||
<article class="p-4 {{ post.draft ? 'bg-blue-200' }}">
|
<article class="p-4 {{ post.draft ? 'bg-blue-200' }}">
|
||||||
{% include 'blog/post-summary' with {
|
{% include 'blog/post-summary' with {
|
||||||
|
post: post,
|
||||||
show_date: true,
|
show_date: true,
|
||||||
} %}
|
} %}
|
||||||
</article>
|
</article>
|
||||||
|
|
Reference in a new issue