diff --git a/src/Resources/views/storefront/base.html.twig b/src/Resources/views/storefront/layout/meta.html.twig similarity index 85% rename from src/Resources/views/storefront/base.html.twig rename to src/Resources/views/storefront/layout/meta.html.twig index aee39e3d5..206b3868e 100644 --- a/src/Resources/views/storefront/base.html.twig +++ b/src/Resources/views/storefront/layout/meta.html.twig @@ -1,7 +1,6 @@ -{% sw_extends '@Storefront/storefront/base.html.twig' %} - -{% block base_main %} +{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %} +{% block layout_head_javascript_hmr_mode %} {# pages where apple pay requires js with their mollie_applepaydirect_restrictions names as values #} {% set onlyShowHere = { @@ -12,7 +11,6 @@ 'frontend.detail.page' : 'pdp' } %} - {% set currentRoute = app.request.attributes.get('_route') %} {% set includeJsInHeader = false %} @@ -36,8 +34,8 @@ {% if mollie_javascript_use_shopware != '1' and includeJsInHeader == true %} - + {% endif %} {{ parent() }} -{% endblock %} \ No newline at end of file +{% endblock %}