layout-website-redesign.pug 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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-website-redesign
  12. block content
  13. //- bootstrapVersion needed here, because plans.pug uses both BS version
  14. //- If the `plans-page-bs5` split test has been completed, remove bootstrapVersion logic
  15. if typeof suppressFooter == 'undefined'
  16. if showThinFooter
  17. if bootstrapVersion === 5
  18. include layout/thin-footer-bootstrap-5
  19. else
  20. include layout/thin-footer
  21. else
  22. include layout/fat-footer-website-redesign
  23. if typeof suppressCookieBanner == 'undefined'
  24. include _cookie_banner
  25. block contactModal
  26. if bootstrapVersion === 5
  27. != moduleIncludes('contactModal-marketing-bootstrap-5', locals)
  28. else
  29. != moduleIncludes('contactModal-marketing', locals)
  30. block prepend foot-scripts
  31. +bootstrap-js(bootstrapVersion)