{% use 'xx' as banners %} {% for banner in banners %} {{banner.title}} {{banner.url}} {% endfor %} {% enduse %}