Use article tags

This commit is contained in:
Oliver Davies 2019-01-15 22:21:35 +00:00
parent 083c20a03c
commit 1052c41d97
2 changed files with 11 additions and 11 deletions

View file

@ -10,13 +10,13 @@ use: [posts]
{% endblock %}
{% block content %}
<ul class="list-reset -mt-4 -mx-4 spaced-y-4">
<div class="-mt-4 -mx-4 spaced-y-4">
{% for post in data.posts %}
<li class="p-4 {{ post.draft ? 'bg-blue-lighter' }}">
<article class="p-4 {{ post.draft ? 'bg-blue-lighter' }}">
{% include 'blog/post-summary' %}
</li>
</article>
{% endfor %}
</ul>
</div>
{% endblock %}
{% block scripts %}