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

<f:layout name="Default"/>

<f:section name="Header">
    <f:render partial="Header/All" arguments="{_all}"/>
</f:section>

<f:section name="Main">
    <f:if condition="{menu}">
        <ul class="nav flex-column">
            <f:for each="{menu}" as="page">
                <li class="nav-item">
                    <f:render section="link" arguments="{page:page}"/>
                </li>
            </f:for>
        </ul>
    </f:if>
</f:section>

<f:section name="link">
    <a href="{page.link}" {f:if(condition: page.target, then: ' target="{page.target}"')} class="nav-link{f:if(condition: page.active, then: ' active')}{f:if(condition: page.current, then: ' current')}{f:if(condition: page.spacer, then: ' disabled')}" >{page.title}</a>
</f:section>
</html>
