<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default"/>
<f:section name="Main">
    <f:if condition="{menu}">
        <ul class="nav flex-column">
            <f:for each="{menu}" as="page">
                <li class="nav-item">
                    <a class="nav-link{f:if(condition: page.current, then: ' active')}" href="{page.link}" {f:if(condition: page.target, then: ' target="{page.target}"')}{f:if(condition: page.current, then: ' aria-current="page"')} title="{page.title}"><span>{page.title -> f:format.raw()}</span></a>
                </li>
            </f:for>
        </ul>
    </f:if>
</f:section>
</html>
