{% set brands = getBrandList() %} {% for brand in brands %} {% endfor %}