|
|
@@ -6,7 +6,7 @@ html(
|
|
|
class=(fixedSizeDocument ? 'fixed-size-document' : undefined)
|
|
|
)
|
|
|
- metadata = metadata || {}
|
|
|
- - let bootstrap5EnabledPage = false
|
|
|
+ - let bootstrap5PageStatus = 'disabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
|
|
|
|
|
|
block entrypointVar
|
|
|
|
|
|
@@ -15,7 +15,7 @@ html(
|
|
|
head
|
|
|
include ./_metadata.pug
|
|
|
|
|
|
- - const bootstrapVersion = bootstrap5EnabledPage && splitTestVariants['bootstrap-5'] === 'enabled' ? 5 : 3
|
|
|
+ - const bootstrapVersion = bootstrap5PageStatus !== 'disabled' && (bootstrap5Override || (bootstrap5PageStatus === 'enabled' && splitTestVariants['bootstrap-5'] === 'enabled')) ? 5 : 3
|
|
|
|
|
|
//- Stylesheet
|
|
|
link(rel='stylesheet', href=buildCssPath(getCssThemeModifier(userSettings, brandVariation), bootstrapVersion), id="main-stylesheet")
|