{% extends "coderedcms/blocks/base_block.html" %} {% load wagtailcore_tags wagtailimages_tags %} {% block block_render %} {% for page in pages %} {% with page.specific as article %}
{% if article.cover_image %}
{% image article.cover_image fill-800x450 format-webp as cover_image %} {{cover_image.title}}
{% endif %}
{{article.title}}
{{article.seo_published_at}} • {{article.seo_author}}
{{article.caption}}
{% if self.show_preview %}

{{article.body_preview}}

{% endif %}
{% endwith %} {% endfor %} {% endblock %}