{% load i18n wagtailcore_tags wagtailimages_tags %} {% with page=page.specific %} {% if page %}
{% if page.is_open %} {% trans "Next deadline" %}: {{ page.deadline|date:"DATE_FORMAT" }} {% elif page.can_open %} Closed {% endif %}
{% if page.listing_image %} {% image page.listing_image fill-450x300 %} {% endif %}

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

{% if page.listing_summary or page.introduction %}

{{ page.listing_summary|default:page.introduction|truncatechars_html:130 }}

{% endif %}
{% endif %} {% endwith %}