Header.html 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  2. {namespace ot=Opentalent\OtTemplating\ViewHelpers}
  3. <f:comment><!--Header partial: contains various partials, like topbar, cariousel, breadcrumb...--></f:comment>
  4. <f:comment><!-- Render the assets' includes --></f:comment>
  5. <f:render partial="Classic/Assets" />
  6. <f:comment><!-- Render the matomo integration code --></f:comment>
  7. <f:comment><!--<f:render partial="Classic/Matomo" />--></f:comment>
  8. <header>
  9. <f:comment><!-- Render the topbar defined in partial/Topbar.html--></f:comment>
  10. <f:render partial="Classic/Topbar" arguments="{_all}" />
  11. <f:comment><!-- Render the no-script warning box defined in partial/NoScriptWarning.html--></f:comment>
  12. <f:render partial="Classic/NoScriptWarning" />
  13. <f:if condition="{ot:template.getPreference(key: 'displayCarousel')}==1">
  14. <f:comment><!-- Render the carousel defined in partial/Carousel.html--></f:comment>
  15. <f:render partial="Classic/Carousel" />
  16. </f:if>
  17. <f:comment><!-- Render the navbar defined in partial/Navbar.html--></f:comment>
  18. <f:render partial="Classic/Menu" />
  19. <f:if condition="{ot:template.getPreference(key: 'displayBreadcrumb')}==1">
  20. <f:comment><!-- Render the breadcrumb defined in partial/Breadcrumb.html--></f:comment>
  21. <f:render partial="Classic/Breadcrumb" />
  22. </f:if>
  23. </header>