custom/plugins/FuerstenbergPorzellan/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" itemtype="https://schema.org/ListItem">
  7.             <a href="{{ path('frontend.home.page') }}"
  8.                 class="breadcrumb-link"
  9.                 title="{{"breadcrumb.hometitle"|trans}}"
  10.                 itemprop="item">
  11.                 <link itemprop="url" href="{{ path('frontend.home.page') }}"/>
  12.                 <span class="breadcrumb-title" itemprop="name">{{"breadcrumb.hometitle"|trans}}</span>
  13.             </a>
  14.         </li>
  15.         <div class="breadcrumb-placeholder">
  16.             <i class='fa fa-angle-double-right'></i>
  17.         </div>
  18.         {% for breadcrumbCategory in breadcrumbCategories %}
  19.             {% set key = breadcrumbCategory.id %}
  20.             {% set name = breadcrumbCategory.translated.name %}
  21.             
  22.             {% block layout_breadcrumb_list_item %}
  23.                 {% if breadcrumbCategory.type != 'folder' %}
  24.                     {{parent()}}
  25.                 {% endif %}
  26.             {% endblock %}
  27.             {% block layout_breadcrumb_placeholder %}
  28.                 {% if key != breadcrumbKeys|last and breadcrumbCategory.type != 'folder' %}
  29.                     <div class="breadcrumb-placeholder">
  30.                         <i class='fa fa-angle-double-right'></i>
  31.                     </div>
  32.                 {% endif %}
  33.             {% endblock %}
  34.         {% endfor %}
  35.         
  36.     </ol>
  37. {% endblock %}