I'm using this code in my template:
<div class="row pb-4">
<div class="col text-center">
{% flatblock "adbanner.above-content" %}
</div>
</div>
Of course, if the flatblock content area is empty, I don't want/need the partent div.row and div.col surrounding it. Is there any way to do something like this:
{% if flatblock "adbanner.above-content" %}
I'm using this code in my template:
Of course, if the flatblock content area is empty, I don't want/need the partent div.row and div.col surrounding it. Is there any way to do something like this:
{% if flatblock "adbanner.above-content" %}