Merge pull request #20105 from overleaf/ii-bs5-ide-page-setup

[web] Initialize BS5 in ide page

GitOrigin-RevId: 96ceb77ec68f86b9946fc2a2bafb54b96f2a116e
This commit is contained in:
ilkin-overleaf 2024-08-28 12:11:35 +03:00 committed by Copybot
parent 6437059783
commit 446e19424d
2 changed files with 7 additions and 0 deletions

View file

@ -670,6 +670,11 @@ const _ProjectController = {
? 'project/ide-react-detached'
: 'project/ide-react'
// Get the user's assignment for this page's Bootstrap 5 split test, which
// populates splitTestVariants with a value for the split test name and allows
// Pug to read it
await SplitTestHandler.promises.getAssignment(req, res, 'bootstrap-5-ide')
res.render(template, {
title: project.name,
priority_title: true,

View file

@ -5,6 +5,8 @@ block vars
- var suppressFooter = true
- var suppressSkipToContent = true
- var deferScripts = true
- bootstrap5PageStatus = 'enabled' // One of 'disabled', 'enabled', and 'queryStringOnly'
- bootstrap5PageSplitTest = 'bootstrap-5-ide'
- metadata.robotsNoindexNofollow = true
block entrypointVar