{% extends "base.html" %} {% block content %}

Weekends

{% for weekend in items %} {% for day in "saturday", "sunday" %} {% endfor %} {% endfor %}
Week Date Saturday Sunday
{{ weekend.date.isocalendar().week }} {{ weekend.date.strftime("%-d %b %Y") }} {% if weekend[day] %} {% for event in weekend[day] %} {{ event.title }}{% if not loop.last %},{%endif %} {% endfor %} {% else %} 🆓 🍃 📖 {% endif %}
{% endblock %}