{% for button in buttons %} {% if icon %} {{ icon(icon) }} {% endif %} {{ button.text }} {% endfor %}