overleaf/services/web/app/views/layout-website-redesign-bootstrap-5.pug
Jessica Lawshe 42a6464866 Merge pull request #20343 from overleaf/jel-begin-cms-bs5
[web] Begin Bootstrap 5 on CMS pages

GitOrigin-RevId: 886dc0c3afb7b61577838de12bc60f22e09c1db8
2024-09-17 08:06:03 +00:00

30 lines
No EOL
740 B
Text

extends ./layout-base
include ./_mixins/formMessages
include ./_mixins/bootstrap_js
block entrypointVar
- entrypoint = 'marketing'
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5Override = true
- isWebsiteRedesign = true
block body
if (typeof(suppressNavbar) == "undefined")
include layout/navbar-marketing-bootstrap-5
block content
if (typeof(suppressFooter) == "undefined")
if showThinFooter
include layout/footer-marketing
else
include layout/fat-footer-website-redesign
if (typeof(suppressCookieBanner) == 'undefined')
include _cookie_banner
!= moduleIncludes("contactModal-marketing-bootstrap-5", locals)
block prepend foot-scripts
+bootstrap-js(5)