{% sw_extends '@Storefront/storefront/layout/breadcrumb.html.twig' %}
{% block layout_breadcrumb_list %}
{% if tonurLandingpage and
tonurLandingpage.translated.breadcrumb and
config('TonurSeoFilterLandingpages6.config.active') and
config('TonurSeoFilterLandingpages6.config.showBreadcrumb')
%}
{% set tonurLandingpageCategory = tonurLandingpage.category %}
{% do tonurLandingpageCategory.setId(tonurLandingpage.id) %}
{% do tonurLandingpageCategory.setType('link') %}
{% do tonurLandingpageCategory.setName(tonurLandingpage.translated.breadcrumb ) %}
{% do tonurLandingpageCategory.addTranslated('name', tonurLandingpage.translated.breadcrumb ) %}
{% do tonurLandingpageCategory.addTranslated('linkType', 'TonurSeoFilterLandingpage') %}
{% do tonurLandingpageCategory.addTranslated('externalLink', metaInformation.canonical) %}
{% do tonurLandingpageCategory.addTranslated('internalLink', metaInformation.canonical) %}
{% set breadcrumbCategories = breadcrumbCategories|merge(
{
(tonurLandingpage.id): tonurLandingpageCategory
}
) %}
{% set categoryId = tonurLandingpageCategory.id %}
{% if feature('v6.5.0.0') %}
{% set breadcrumbKeys = breadcrumbCategories|keys %}
{% else %}
{% set breadcrumbKeys = breadcrumbKeys|merge([(tonurLandingpage.id)])%}
{% endif %}
{% endif %}
{{ parent() }}
{% endblock %}