{% extends "base.html" %} {% load wagtailcore_tags wagtailimages_tags static markdown_tags bleach_tags %} {% block body_class %}light-grey-bg{% endblock %} {% block content %}
{% if page.introduction %}

{{ page.introduction|markdown|bleach }}

{% endif %}
{% if news %}
{% for n in news %} {% if n.listing_image %} {% image n.listing_image fill-450x300 %} {% endif %}

{{ n.listing_title|default:n.title }}

{% if n.listing_summary or n.introduction %}
{{ n.listing_summary|default:n.introduction }}
{% endif %} {{ n.display_date|date:"Y-m-d" }} {% if n.authors.all %} | By: {% for author in n.authors.all %} {{ author.author }} {% endfor %} {% endif %}
{% endfor %}
{% include "includes/pagination.html" with paginator_page=news %} {% else %} {# no items #} {% endif %}
{% endblock %}