{% macro renderEvents(items, pageUrl) %} {% if items %} {% for item in items %} {% if item.isFeatured %} {{ renderEvent(item, pageUrl) }} {% endif %} {% endfor %} {% for item in items %} {% if item.isFeatured == false %} {{ renderEvent(item, pageUrl) }} {% endif %} {% endfor %} {% else %}

There are no events yet.

{% endif %} {% endmacro %} {% macro renderEvent(item, pageUrl) %} {# event-livenation event-featured #}
{{ aposSingleton({ area: item.areas.thumbnail, type: 'slideshow', limit: 1 }) }} {{ item.startMonth }} {{ item.startDay }}

{{ item.title | e }}

{{ item.descr }}
{% if item.address %}
{{ item.address }}
{% endif %} {% if item.clickthrough %} More Information {% else %} More Information {% endif %}
{% endmacro %}