ds-site/Resources/Private/Partials/Page/MainMenu.html

15 lines
490 B
HTML

<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<nav>
<details open>
<summary>
<h2>Menu</h2>
</summary>
<ul>
<f:for each="{pages}" as="page">
<li><a href="{page.link}"{f:if(condition: page.data.rel, then: ' rel="{page.data.rel}"')}>{page.title}</a></li>
</f:for>
</ul>
</details>
</nav>
</html>