{% if nodemenu is defined and nodemenu.breadCrumb|length > 1 %}
<section class="content">
<nav class="breadcrumb">
{% set homepagePageNode = nodemenu.getNodeByInternalName('homepage') %}
<a href="{{ path('_slug', { 'url': homepagePageNode.slug }) }}" class="breadcrumb__item breadcrumb__item--home">
Start
</a>
<i class="fas fa-chevron-right"></i>
{% if refererString is defined and refererString %}
{% set refererNodes = refererString | split(',') %}
{% for refererNode in refererNodes %}
{% set node = get_node_trans_by_node_id(refererNode, app.request.locale) %}
<a href="{{ path('_slug', { 'url': node.url }) }}" class="breadcrumb__item">
{{ node.title }}
</a>
<i class="fas fa-chevron-right"></i>
{% endfor %}
<span class="breadcrumb__item breadcrumb__item--current">
{{ nodemenu.breadCrumb | last.title }}
</span>
{% else %}
{% for node in nodemenu.breadCrumb %}
{% if not loop.first %}
{% if loop.last %}
<span class="breadcrumb__item breadcrumb__item--current">
{{ node.title }}
</span>
{% else %}
<a href="{{ path('_slug', { 'url': node.slug }) }}" class="breadcrumb__item">
{{ node.title }}
</a>
<i class="fas fa-chevron-right"></i>
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
</nav>
</section>
{% endif %}