layout-marketing.pug 819 B

123456789101112131415161718192021222324252627282930313233343536
  1. extends ./layout-base
  2. include ./_mixins/formMessages
  3. include ./_mixins/bootstrap_js
  4. block entrypointVar
  5. - entrypoint = 'marketing'
  6. block body
  7. if typeof suppressNavbar === 'undefined'
  8. if bootstrapVersion === 5
  9. include layout/navbar-marketing-bootstrap-5
  10. else
  11. include layout/navbar-marketing
  12. block content
  13. if typeof suppressFooter === 'undefined'
  14. if showThinFooter
  15. if bootstrapVersion === 5
  16. include layout/thin-footer-bootstrap-5
  17. else
  18. include layout/thin-footer
  19. else
  20. include layout/fat-footer
  21. if typeof suppressCookieBanner == 'undefined'
  22. include _cookie_banner
  23. if bootstrapVersion === 5
  24. != moduleIncludes('contactModal-marketing-bootstrap-5', locals)
  25. else
  26. != moduleIncludes('contactModal-marketing', locals)
  27. block prepend foot-scripts
  28. +bootstrap-js(bootstrapVersion)