TYPO3 v15 dev-main snapshot ()
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<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:render section="Menu" arguments="{menu: menu}" />
|
||||
|
||||
</f:section>
|
||||
<f:section name="Menu">
|
||||
|
||||
<f:if condition="{menu}">
|
||||
<ul>
|
||||
<f:for each="{menu}" as="page">
|
||||
<li>
|
||||
<a 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}</span>
|
||||
</a>
|
||||
<f:render section="Menu" arguments="{menu: page.children}" />
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
</f:if>
|
||||
|
||||
</f:section>
|
||||
</html>
|
||||
Reference in New Issue
Block a user