overleaf/services/web/app/views/layout-website-redesign-bootstrap-5.pug
Tim Down c817c5ed98 Merge pull request #20667 from overleaf/td-bs5-always-enabled-option
Add option to always enable BS5 for a particular page

GitOrigin-RevId: f338c4f4be87aae1a2a239a2b36b738616aabaed
2024-10-14 11:09:50 +00:00

29 lines
712 B
Text

extends ./layout-base
include ./_mixins/formMessages
include ./_mixins/bootstrap_js
block entrypointVar
- entrypoint = 'marketing'
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- 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)