{% if APP_ICONS_APPLE %} {% for icon in APP_ICONS_APPLE %} {% endfor %} {% else %} {% for icon in APP_ICONS %} {% endfor %} {% endif %} {% for splash in APP_SPLASH_SCREEN %} {% endfor %} {% with APP_ICONS|last as icon %} {% endwith %}