{% load timeslots %} {% if forloop.first %} {% if timeslot.start.hour < 6 %} {# the day starts with the first show until its end #}