Files
overleaf-cep/services/web/app/views/layout-website-redesign.pug
T
Rebeka Dekany c6f8f4bec6 Prettier for PUG templates (#26170)
* Setup prettier

* Ignore these pug templates by prettier

* Fix typo

* Fix prettier error

* Add prettier-ignore for quoting of event-segmentation attribute

* Manual tab indentation

* Interpolate

* Remove unbuffered if conditional

* Inline event-segmentation objects and remove prettier-ignore rule

* Fix spacing before interpolation

* Source format

* Source format

GitOrigin-RevId: c30e037f5caf8f91efc1bd9e75f81ae533b5a506
2025-06-24 08:05:06 +00:00

40 lines
1.0 KiB
Plaintext

extends ./layout-base
include ./_mixins/formMessages
include ./_mixins/bootstrap_js
block entrypointVar
- entrypoint = 'marketing'
block body
if typeof suppressNavbar == 'undefined'
if bootstrapVersion === 5
include layout/navbar-marketing-bootstrap-5
else
include layout/navbar-website-redesign
block content
//- bootstrapVersion needed here, because plans.pug uses both BS version
//- If the `plans-page-bs5` split test has been completed, remove bootstrapVersion logic
if typeof suppressFooter == 'undefined'
if showThinFooter
if bootstrapVersion === 5
include layout/thin-footer-bootstrap-5
else
include layout/thin-footer
else
include layout/fat-footer-website-redesign
if typeof suppressCookieBanner == 'undefined'
include _cookie_banner
block contactModal
if bootstrapVersion === 5
!= moduleIncludes('contactModal-marketing-bootstrap-5', locals)
else
!= moduleIncludes('contactModal-marketing', locals)
block prepend foot-scripts
+bootstrap-js(bootstrapVersion)