mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-01 09:34:04 +00:00
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:
parent
6437059783
commit
446e19424d
2 changed files with 7 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue