custom/plugins/ATNTheme/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_placeholder %}
  3.     {% if key != breadcrumbKeys|last %}
  4.         <div class="breadcrumb-placeholder">
  5.             {% sw_icon 'arrow-right' style {
  6.                 'size': 'xs',
  7.                 'color': 'white'
  8.             } %}
  9.         </div>
  10.     {% endif %}
  11. {% endblock %}
  12. {% block layout_breadcrumb_list %}
  13.     <ol class="breadcrumb"
  14.         itemscope
  15.         itemtype="https://schema.org/BreadcrumbList">
  16.         <li class="breadcrumb-item"
  17.             itemprop="itemListElement"
  18.             itemscope
  19.             itemtype="https://schema.org/ListItem">
  20.             <a href="/"
  21.                class="breadcrumb-link"
  22.                title="Startseite"
  23.                itemprop="item">
  24.                 <link itemprop="url"
  25.                       href="/"/>
  26.                 <span class="breadcrumb-title" itemprop="name">Startseite</span>
  27.             </a>
  28.         </li>
  29. {#        <li><a title="Startseite" href="/" class="text-white mr-2">Startseite</a></li>#}
  30.         <div class="breadcrumb-placeholder">
  31.             {% sw_icon 'arrow-right' style {
  32.                 'size': 'xs',
  33.                 'color': 'white'
  34.             } %}
  35.         </div>
  36.         {% for breadcrumbCategory in breadcrumbCategories %}
  37.             {% set key = breadcrumbCategory.id %}
  38.             {% set name = breadcrumbCategory.translated.name %}
  39.             {{ block("layout_breadcrumb_list_item") }}
  40.         {% endfor%}
  41.     </ol>
  42. {% endblock %}