{% set days = [{ date: "Thursday, 28 Feb", items: [{ time: "12:30 PM", duration: "2 hrs", title: "Marketing Team Meeting", avatars: [ "assets/images/256_joao-silas-636453-unsplash.jpg", "assets/images/256_jeremy-banks-798787-unsplash.jpg", "assets/images/256_daniel-gaffey-1060698-unsplash.jpg" ], location: "16845 Hicks Road" }] }, { date: "Wednesday, 27 Feb", items: [{ time: "07:48 PM", duration: "30 min", title: "Call Alex", phone: "202-555-0131" }] }, { date: "Tuesday, 26 Feb", items: [{ time: "03:13 PM", duration: "2 hrs", title: "Design Team Meeting", avatars: [ "assets/images/256_rsz_1andy-lee-642320-unsplash.jpg", "assets/images/256_michael-dam-258165-unsplash.jpg", "assets/images/256_luke-porter-261779-unsplash.jpg", "assets/images/stories/256_rsz_clem-onojeghuo-193397-unsplash.jpg" ], location: "16845 Hicks Road" }] }, { date: "Monday, 25 Feb", items: [{ time: "12:30 PM", duration: "2 hrs", title: "Call Wendy", avatars: [ "assets/images/256_michael-dam-258165-unsplash.jpg" ], phone: "202-555-0131" }] }] %} {% for item in days %} {{ item.date }}
{% for item in item.items %}
{{ item.time }} {{ item.duration }}
{{ item.title }} {% if item.location %} location_on {{ item.location }} {% endif %} {% if item.phone %} phone {{ item.phone }} {% endif %}
{% if item.avatars|length > 1 %}
{% endif %} {% for avatar in item.avatars %}
Avatar
{% endfor %} {% if item.avatars|length > 1 %}
{% endif %}
{% endfor %}
{% endfor %}