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

<f:layout name="Default"/>

<f:section name="Main">
  <nav class="ce-jumpmarkwrapper navbar" id="jumpmarks">
    <f:if condition="{menu}">
      <f:for each="{menu}" as="page">
        <f:if condition="{page.content}">
          <ul class="nav">
            <f:for each="{page.content}" as="element">
              <f:if condition="{element.data.header}">
                <li class="nav-item">
                  <a href="#c{element.data.uid}" title="{element.data.header}" class="nav-link">
                    <span>{element.data.header}</span>
                  </a>
                </li>
              </f:if>
            </f:for>
          </ul>

        </f:if>
      </f:for>
    </f:if>
  </nav>
</f:section>

</html>
