{#
# Project: www.betten-abc.de
# Company: arboro GmbH
# Created by: Daniel Geike
# Created on: 26.04.22
# Description:
#}
{% sw_extends "@Storefront/storefront/page/content/index.html.twig" %}
{% block cms_content %}
{% if config("ArboroProductListingLayout.config.showOnListingPage") %}
<div class="cms-page"
data-current-layout="{{ config("ArboroProductListingLayout.config.defaultLayout") }}"
data-default-layout="{{ config("ArboroProductListingLayout.config.defaultLayout") }}"
>
{% sw_include "@Storefront/storefront/page/content/detail.html.twig" with {'cmsPage': page.cmsPage} %}
</div>
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}