{% if pager|length() > 0 %} {% for item in pager %} {{ render( controller( 'ez_content:viewLocation', { 'locationId': item.contentInfo.mainLocationId, 'viewType': 'line' } ) ) }} {% endfor %} {% if pager.haveToPaginate() %}