mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user