{% extends settings.utils.LayoutSettings.base_template %} {% load wagtailcore_tags wagtailimages_tags %} {% block main_content %}
{% image self.main_image max-4000x4000 as bg_image %}
{% include 'includes/breadcrumbs.html' with dark_bg=True %}

{{ self.title }}

{% if self.start_date %}

{{ self.start_date }}{% if self.end_date %} - {{ self.end_date }}{% endif %}

{% endif %}

{{ self.introduction }}

{% if self.body %}
{{ self.body }}
{% endif %} {% if self.key_details %}

Key details

{% for link_group in self.key_details %} {% if forloop.counter0|divisibleby:2 %} {% include "includes/key_detail_section.html" with link_group=link_group expanded=self.key_details_expanded %} {% endif %} {% endfor %}
{% for link_group in self.key_details %} {% if not forloop.counter0|divisibleby:2 %} {% include "includes/key_detail_section.html" with link_group=link_group expanded=self.key_details_expanded %} {% endif %} {% endfor %}
{% endif %} {% if self.venue %}
{% if self.venue_section_title %}

{{ self.venue_section_title }}

{% endif %}
{% if self.venue %}
Venue
{{ self.venue }}
{% endif %} {% if self.room_rates %}
Room rates
{{ self.room_rates }}
{% endif %} {% if self.extras %}
Extras
{{ self.extras }}
{% endif %} {% if self.reservations_open %}
Reservations open
{{ self.reservations_open }}
{% endif %} {% if self.reservation_name %}
Reservation name
{{ self.reservation_name }}
{% endif %} {% if self.contact_details %}
Contact details
{{ self.contact_details }}
{% endif %}
{% endif %} {% if self.hosts.exists or self.sponsors %}

Sponsors

{% if self.hosts.exists %}

Host{{ self.hosts.all|pluralize }}

{% endif %} {% for sponsor_category in self.sponsors %}

{{ sponsor_category.value.category_title }}

{% endfor %}
{% endif %}
{% include "includes/row_siblings_in_section.html" with page=self class="p-3 p-lg-5 mb-4" %}
{% endblock %}