<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<nav class="navbar navbar-{type} navbar-expand-lg py-0">
    <div class="container">
        <div class="collapse navbar-collapse justify-content-end">
            <ul class="navbar-nav">
                <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)}">
                        <f:link.typolink parameter="{navItem.link}" class="nav-link fs-sm text-uppercase">{navItem.title -> f:format.htmlentitiesDecode()}</f:link.typolink>
                    </li>
                </f:for>
            </ul>
        </div>
    </div>
</nav>

