{% if currentevents %}
{% for event in currentevents %}
{{ event.name }} {{ event.begin.format("YYYY-MM-DD") }} - {{ event.end.shift(seconds=-1).format("YYYY-MM-DD") }}
{{ event.description_rendered|safe }}
{% endfor %}
{% endif %}
{% for event in upcomingevents %}
{{ event.name }} {{ event.begin.format("YYYY-MM-DD") }} - {{ event.end.shift(seconds=-1).format("YYYY-MM-DD") }}
{{ event.description_rendered|safe }}
{% endfor %}