custom/plugins/HuebertSeoUltimate/src/Resources/views/storefront/layout/header/header.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
  2. {% block layout_header %}
  3.     {% set headerData = attribute(page.HuebertSeoUltimate.config.conversion.header, context.salesChannel.languageId) is defined ? attribute(page.HuebertSeoUltimate.config.conversion.header, context.salesChannel.languageId) : page.HuebertSeoUltimate.config.conversion.header %}
  4.     {% if headerData.active %}
  5.         <div class="hueb-seo__header">
  6.             <div class="header-center">
  7.                 {% for key, entry in headerData.iconName %}
  8.                     {% if entry != "" or headerData.iconId[key] != "" %}
  9.                         <span class="header-entry">{% if not loop.first %}{{ headerData.iconName[loop.index0] }}{% endif %}
  10.                             <i class="fa {{ headerData.iconId[key] }}" aria-hidden="true"></i> {{ entry|sw_sanitize }}</span>
  11.                     {% endif %}
  12.                 {% endfor %}
  13.             </div>
  14.         </div>
  15.     {% endif %}
  16.     {{ parent() }}
  17. {% endblock %}