{% for post in posts %}
{{ post.published_at|date:"d F Y" }}
{% if post.thumbnail %}{{ post.image_alt|default:post.title }}{% endif %}

{{ post.title }}

{{ post.excerpt|truncatewords:30 }}

{% endfor %} {% if posts.has_next %}
{% endif %}