summaryrefslogtreecommitdiff
path: root/template/calendar_head.j2
blob: d8df951322e4807b8efb9aa928cd874a96c55eb3 (plain)
1
2
3
4
5
6
7
8
9
10
<div class="calendar-listing {{ class }}">
{%- for event in events[:7] %}
  {% include 'calendar_event.j2' %}
{%- endfor %}
{%- for event in events[7:] %}
  {% if not event.recurring %}
  {% include 'calendar_event.j2' %}
  {% endif %}
{%- endfor %}
</div>