{% if portlets %} {% for portlet in portlets %} {# {{ portlet.render }} #} {{ portlet|safe }} {% endfor %} {% endif %}