<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:if condition="{data.layout} == 10">
        <f:then>
            <f:render partial="Media/Imageslider" arguments="{_all}"/>

        </f:then>
        <f:else>
            <f:render partial="Media/Gallery" arguments="{_all}"/>
        </f:else>
    </f:if>

</f:section>
</html>
