templates/front/theme1/partials/breadcrumb.html.twig line 1

Open in your IDE?
  1. {% if breadcrumb is defined and breadcrumb is not empty %}
  2. <ol class="breadcrumb d-flex justify-content-center" itemscope itemtype="http://schema.org/BreadcrumbList">
  3.     {% for key,item in breadcrumb %}
  4.         {% if item.active  == true  %}
  5.             <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
  6.                 <a href="{{item.url}}" itemprop="item"><span itemprop="name">{{item.name}}</span></a><meta itemprop="position" content="{{key + 1}}" />
  7.             </li>
  8.         {% else %}
  9.             <li class="breadcrumb-item active" aria-current="page" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
  10.                 <span itemprop="name">{{item.name}}</span><meta itemprop="position" content="{{key + 1}}" />
  11.             </li>
  12.         {% endif %}
  13.     {% endfor %}
  14. </ol>
  15. {% endif %}