{% extends 'program_base.html' %} {% block program_content %} {% for event in events %} {% ifchanged event.event_type %} {% if not forloop.first %}{% endif %}