Hi guys, I need to check with an if/else statement if my widget has content or not.
This is my code but not working:
{% if emotionalScreen.hasContent %}
<section class="content"><section/>
{% endif %}
{{
apos.area(data.page, 'emotionalScreen', {
widgets: {
'emotionalScreen': {}
}
}
)
}}
How can I do?
Thanks