custom/plugins/DmSanettaTheme/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 %}
  3.     <ol class="breadcrumb"
  4.         itemscope
  5.         itemtype="https://schema.org/BreadcrumbList">
  6.         <li class="breadcrumb-item">
  7.             <a href="{{ path('frontend.home.page') }}"
  8.                 class="breadcrumb-link"
  9.                 title="{{ "Breadcrumbhometitle"|trans|raw }}">
  10.                 <link href="{{ path('frontend.home.page') }}"/>
  11.                 <span class="breadcrumb-title">
  12.                     <span class="icon icon-home">
  13.                    <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-house" viewBox="0 0 16 16">
  14.                     <path d="M8.707 1.5a1 1 0 0 0-1.414 0L.646 8.146a.5.5 0 0 0 .708.708L2 8.207V13.5A1.5 1.5 0 0 0 3.5 15h9a1.5 1.5 0 0 0 1.5-1.5V8.207l.646.647a.5.5 0 0 0 .708-.708L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.707 1.5ZM13 7.207V13.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V7.207l5-5 5 5Z"></path>
  15.                    </svg></span>
  16.                 </span>
  17.             </a>
  18.             <meta itemprop="position" content=""/>
  19.         </li>
  20.         <div class="breadcrumb-placeholder">
  21.             {% sw_icon 'arrow-medium-right' style { 'size': 'fluid', 'pack': 'solid'} %}
  22.         </div>
  23.                         
  24.         {% for breadcrumbCategory in breadcrumbCategories %}
  25.             {% set key = breadcrumbCategory.id %}
  26.             {% set name = breadcrumbCategory.translated.name %}
  27.             {% if loop.first && breadcrumbCategory.type == 'folder' %}
  28.             {% else %}
  29.                 {% block layout_breadcrumb_list_item %}
  30.                     {{parent()}}
  31.                 {% endblock %}
  32.                 {% block layout_breadcrumb_placeholder %}
  33.                     {{parent()}}
  34.                 {% endblock %}
  35.             {% endif %}
  36.         {% endfor %}
  37.     </ol>
  38. {% endblock %}
  39.