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

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