{namespace ot=Opentalent\OtTemplating\ViewHelpers}

<f:render partial="Modern/Assets" arguments="{_all}" />

<f:comment><!--<f:render partial="Modern/Preloader" />--></f:comment>

<header id="header" class="header default fullWidth">

    <f:comment><!-- Render the no-script warning box defined in partial/NoScriptWarning.html--></f:comment>
    <f:render partial="Modern/NoScriptWarning" />

    <f:comment><!-- Render the topbar defined in partial/Topbar.html--></f:comment>
    <f:render partial="Modern/Topbar" arguments="{_all}" />

    <f:comment><!-- Render the navbar defined in partial/Navbar.html--></f:comment>
    <f:render partial="Modern/Menu" />

</header>

<f:if condition="{ot:template.getPreference(key: 'displayCarousel')}==1">
    <f:render partial="Modern/Carousel" arguments="{_all}" />
</f:if>

<f:if condition="{ot:template.getPreference(key: 'displayBreadcrumb')}==1">
    <f:render partial="Modern/Breadcrumb" />
</f:if>
