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

    <f:if condition="{item.children}">
        <f:then>
            <f:if condition="{item.current}">
                <f:then>
                    <li class="{f:if(condition:item.children, then:'navitem')} {f:if(condition:item.current, then:'cur')} activated" data-show-sub="true" >
                        <f:render partial="Submenu/Elements/SubLink" arguments="{item: item}"/>
                </f: