simplify override: page/content/index.html.twig
This commit is contained in:
parent
b628520a6b
commit
ed20098932
1 changed files with 1 additions and 22 deletions
|
|
@ -1,24 +1,3 @@
|
||||||
{% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}
|
{% sw_extends '@Storefront/storefront/page/content/index.html.twig' %}
|
||||||
|
|
||||||
{% block base_main_inner %}
|
{% block cms_breadcrumb %}{% endblock %}
|
||||||
<div class="container-main">
|
|
||||||
{% block page_content %}
|
|
||||||
{% block cms_breadcrumb %}
|
|
||||||
{#<div class="breadcrumb cms-breadcrumb container">
|
|
||||||
{% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
|
|
||||||
context: context,
|
|
||||||
category: page.header.navigation.active
|
|
||||||
} only %}
|
|
||||||
</div>#}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block cms_content %}
|
|
||||||
<div class="cms-page">
|
|
||||||
{% block page_content_blocks %}
|
|
||||||
{% sw_include "@Storefront/storefront/page/content/detail.html.twig" with {'cmsPage': page.cmsPage} %}
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
{% endblock %}
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue