custom/plugins/ATNTheme/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_navigation %}{% endblock %}
  3. {# {% block base_footer %} #}
  4. {# {% if controllerAction|lower not in page.cmsPage.name %} #}
  5. {# {% if page.footer.extensions.cms_page is defined %} #}
  6. {# {% sw_include '@Storefront/storefront/page/content/detail.html.twig' with { cmsPage: page.footer.extensions.cms_page } %} #}
  7. {# {% else %} #}
  8. {# {{ parent() }} #}
  9. {# {% endif %} #}
  10. {# {% endif %} #}
  11. {# {{ parent() }} #}
  12. {# {% endblock %} #}
  13. {% block base_main %}
  14.     {{ parent() }}
  15.     {% if controllerAction|lower not in 'home' and 'Social Media' not in page.cmsPage.name %}
  16.         {% if page.footer.extensions.cms_page is defined %}
  17.             <div class="cms-page">
  18.                 {% sw_include "@Storefront/storefront/page/content/detail.html.twig" with {'cmsPage': page.Footer5.extensions.cms_page} %}
  19.             </div>
  20.         {% else %}
  21.             {{ parent() }}
  22.         {% endif %}
  23.     {% endif %}
  24. {% endblock %}