{% if widget is defined %}{% set orginalWidgetID = widget %}{% set widget = getContent(widget) %}{% if widget.content.content is defined %}{# To stop a circle by self-referencing in the widget. #}{% if widget.content.content[0].widget|default(0) != orginalWidgetID %}{% include 'components/organisms/storyblok/storyblok.html.twig' with {'componentData': widget.content.content,'componentConfig': componentConfig|default([])}%}{% endif %}{% endif %}{% endif %}