custom/plugins/tad-theme/src/Resources/views/storefront/layout/breadcrumb.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/breadcrumb.html.twig' %}
  2. {% block layout_breadcrumb_list_item %}
  3.         <li class="breadcrumb-item{% if theme_config('tad-breadcrumb-size') == 1 and key != breadcrumbKeys|last %} d-none d-md-inline-block{% endif %}"
  4.             {% if key is same as(categoryId) %}aria-current="page"{% endif %}
  5.             itemprop="itemListElement"
  6.             itemscope
  7.             itemtype="https://schema.org/ListItem">
  8.             {% if breadcrumbCategory.type == 'folder' %}
  9.                 <div>{{ name }}</div>
  10.             {% else %}
  11.                 <a href="{{ category_url(breadcrumbCategory) }}"
  12.                 class="breadcrumb-link {% if key is same as(categoryId) %} is-active{% endif %}"
  13.                 title="{{ name }}"
  14.                 {% if category_linknewtab(breadcrumbCategory) %}target="_blank"{% endif %}
  15.                 itemprop="item">
  16.                     <link itemprop="url"
  17.                         href="{{ category_url(breadcrumbCategory) }}"/>
  18.                     <span class="breadcrumb-title" itemprop="name">{{ name }}</span>
  19.                 </a>
  20.                 <meta itemprop="position" content="{{ breadcrumbCategory.id }}"/>
  21.             {% endif %}
  22.         </li>
  23.     {% endblock %}
  24.     {% block layout_breadcrumb_placeholder %}
  25.         {% if key != breadcrumbKeys|last %}
  26.             <div class="breadcrumb-placeholder {% if theme_config('tad-breadcrumb-size') == 1 and key != breadcrumbKeys|last %} d-none d-md-inline-block{% endif %}">
  27.                 {% sw_icon 'arrow-medium-right' style { 'size': 'fluid', 'pack': 'solid'} %}
  28.             </div>
  29.         {% endif %}
  30.     {% endblock %}