<section class="breadcrumb breadcrumb--{{ theme }}">
<ol class="list-none ">
<li>
<a href="{{ page_url('home', 'front') }}">{{ 'Accueil'|trans }}</a>
</li>
{% for item in page.breadcrumb %}
<li>
<a href="{{ item.url }}"
class="font-weight-medium leading-none">{{ item.label }}</a>
</li>
{% endfor %}
<li class="is-active">
<span class="font-weight-medium leading-none">{{ page.title | remove_brackets | trim }}</span>
</li>
</ol>
{% set BCcounter = 1 %}
<script type="application/ld+json">
[{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": {{ BCcounter }},
"name": "{{ 'Accueil'|trans }}",
"item": "{{ page_url("home", "front", { '_locale' : app.request.locale }) }}"
},
{% for item in page.breadcrumb %}
{% set BCcounter = BCcounter + 1 %}
{
"@type": "ListItem",
"position": {{ BCcounter }},
"name": "{{ item.label }}",
"item": "{{ item.url }}"
},
{% endfor %}
{
"@type": "ListItem",
"position": {{ BCcounter+ 1 }},
"item":
{
"@id": "{{ app.request.uri }}",
"name": "{{ page.title }}"
}
}
]
</script>
</section>