{% extends "coderedcms/pages/web_page.html" %} {% load wagtailcore_tags wagtailimages_tags coderedcms_tags %} {% block index_content %}
{% for article in index_paginated %}
{% if self.show_images %}
{% if article.cover_image %} {% image article.cover_image fill-1000x500 as cover_image %} {{article.title}} {% endif %}
{% endif %}

{{article.title}}

{% if self.show_captions and article.caption %}

{{article.caption}}

{% endif %} {% if self.show_meta %}

{{article.get_pub_date}}{% if article.get_author_name %} • {{article.get_author_name}}{% endif %}

{% endif %} {% if self.show_preview_text %}

{{article.body_preview}}

{% endif %}
{% if not forloop.last %}
{% endif %} {% endfor %} {% include "coderedcms/includes/pagination.html" with items=index_paginated %}
{% endblock %}