{% if page is not empty %} {{ render(controller('AppBundle:Component:navSidebarWidget', {page: page, title:widget.name})) }} {% endif %}