<section class="event-section">
    <article class="event-box{% if image %} event-has-image{% endif %}">
        <div class="event-content">
            {{ content | safe }}
        </div>

        <dl class="event-facts">
            {% for key, value in values.items() %}
                <div>
                    <dt>{{ key.replace("_", " ").title() }}</dt>
                    <dd>{{ value | safe }}</dd>
                </div>
            {% endfor %}
        </dl>

        {% if image %}
            <figure class="event-image">
                <img src="{{ image.src }}" alt="{{ image.alt }}">
            </figure>
        {% endif %}
    </article>
</section>
