{% sw_extends '@Storefront/storefront/layout/meta.html.twig' %}
{% set breadcrumb = category.buildSeoBreadcrumb(context.salesChannel.navigationCategoryId) %}
{% block layout_head_meta_tags_schema_webpage %}
{{ parent() }}
{% if page.header.extensions.breadcrumb.getBreadcrumb() %}
<script type="application/ld+json">{{ page.header.extensions.breadcrumb.getBreadcrumb()|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_UNESCAPED_SLASHES'))|raw }}</script>
{% endif %}
{% if page.extensions.breadcrumb.getBreadcrumb() %}
<script type="application/ld+json">{{ page.extensions.breadcrumb.getBreadcrumb()|json_encode(constant('JSON_PRETTY_PRINT') b-or constant('JSON_UNESCAPED_SLASHES'))|raw }}</script>
{% endif %}
{% set hasBreadcrumb = page.header.extensions.breadcrumb.getBreadcrumb() or page.extensions.breadcrumb.getBreadcrumb() %}
{% if hasBreadcrumb and not page.header.extensions.breadcrumb.invisibility and not page.header.navigation.active.translated.customFields.loyxx_rich_breadcrumb_disabled %}
<style>
.breadcrumb.cms-breadcrumb{
display: flex !important;
}
.breadcrumb.cms-breadcrump{ /* @deprecated tag:v6.4.0 class `cms-breadcrump` use `cms-breadcrumb` instead */
display: flex !important;
}
</style>
{% endif %}
{% endblock %}