<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
      data-namespace-typo3-fluid="true">
<f:if condition="{navBreadcrumb}">
    <nav class="navbar navbar-footer" aria-label="breadcrumb">
        <ol class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
            <f:for each="{navBreadcrumb}" as="item" iteration="i">
                <f:if condition="{item.current}">
                    <f:then>
                        <li class="breadcrumb-item active" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                            <span aria-current="page" itemprop="item">
                                <span itemprop="name">{item.title}</span>
                                <meta itemprop="position" content="{i.cycle}"/>
                                <meta itemprop="url" content="{f:uri.page(pageUid: item.data.uid, absolute: 'true', noCacheHash: 'true')}"/>
                            </span>
                        </li>
                    </f:then>
                    <f:else>
                        <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
                            <a href="{item.link}" itemprop="item">
                                <span itemprop="name">{item.title}</span>
                                <meta itemprop="position" content="{i.cycle}"/>
                            </a>
                        </li>
                    </f:else>
                </f:if>
            </f:for>
        </ol>
    </nav>
</f:if>

