<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">


<nav class="navbar navbar-{type}">
    <ul class="navbar-nav" role="menubar">
        <f:for each="{nav}" as="navItem" iteration="metaiteration">
            <li class="nav-item{f:if(condition: navItem.active, then: ' active')}{f:if(condition: navItem.current, then: ' current')}{f:if(condition: navItem.children, then: ' dropdown')} nav-item--{v:format.sanitizeString(string: navItem.data.title)}">
                <a class="nav-link" href="{navItem.link}" role="menuitem">{navItem.title -> f:format.htmlentitiesDecode()}</a>
            </li>
        </f:for>
    </ul>
</nav>

