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

<ul class="nav nav-pills d-print-none">
    <f:for each="{secondarynavigation}" as="item">
        <li class="nav-item">
            <f:link.page pageUid="{item.data.uid}" target="{item.data.target}" class="nav-link text-uppercase {f:if(condition:item.data.active, then:' active')}{f:if(condition:item.data.current, then:' current')}">
                {item.title}
            </f:link.page>
        </li>
    </f:for>
</ul>
