{% set BreadCrumbsCat = category %}
{% set BreadCrumbsArr = [] %}
{% set BreadCrumbsArr = get_breadcrumbs_array(category) %}
{% if category.id > 1 %}
{% set BreadCrumbsArr = BreadCrumbsArr|merge([{name: 'MÚA AV ČR', slug: '' }]) %}
{% endif %}
{% if BreadCrumbsArr|length > 0 %}
<div class="container">
<ul class="breadcrumbs">
{% for BreadCrumbsItem in BreadCrumbsArr|reverse %}
<li class="breadcrumbs__item">
<a class="breadcrumbs__link" href="/{{ app.request.locale }}/{{ BreadCrumbsItem.slug }}">{{ BreadCrumbsItem.name }}</a>
</li>
{% endfor %}
<li class="breadcrumbs__item breadcrumbs__item--current">
<span class="breadcrumbs__current" href="">{{ category.name }}</span>
</li>
</ul>
</div>
{% endif %}