{% load wagtailcore_tags wagtailimages_tags %}
{% if event.image %}
{% image event.image fill-510x280 as image %}
{% endif %}
{{ event.date_start|date:"d" }} {{ event.date_start|date:"b" }}
{% if event.date_end %}
au
{{ event.date_end|date:"d" }} {{ event.date_end|date:"b" }}
{% elif event.time_start %}
{{ event.time_start|time:"H" }}H{% if event.time_start.minute != 0 %}{{ event.time_start|time:"i" }}{% endif %}
{% endif %}
{% with tags=event.tags.all %} {% if tags %}
{% for tag in tags %} {{ tag }} {% endfor %}
{% endif %} {% endwith %}

{{ event.title }}

{% if event.summary %}

{{ event.summary|truncatechars:"300"|linebreaksbr }}

{% endif %} {% if event.related_page or event.external_link %} {% endif %}