mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Revert "adding metadata object with robotsNoindexNofollow for plans-2 and pla…" (#20323)
This reverts commit 97fec521b19dac5af9cef9851f0ea145bd187b64. GitOrigin-RevId: 6b86ee9feb0c6922bbdf3f5c3aa08c2d41b958ee
This commit is contained in:
@@ -150,10 +150,6 @@ async function plansPageLightDesign(req, res) {
|
|||||||
'website-redesign-plans'
|
'website-redesign-plans'
|
||||||
)
|
)
|
||||||
|
|
||||||
const metadata = {
|
|
||||||
robotsNoindexNofollow: true,
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!splitTestActive && req.query.preview !== 'true') {
|
if (!splitTestActive && req.query.preview !== 'true') {
|
||||||
return res.redirect(302, '/user/subscription/plans')
|
return res.redirect(302, '/user/subscription/plans')
|
||||||
}
|
}
|
||||||
@@ -186,7 +182,6 @@ async function plansPageLightDesign(req, res) {
|
|||||||
|
|
||||||
res.render('subscriptions/plans-light-design', {
|
res.render('subscriptions/plans-light-design', {
|
||||||
title: 'plans_and_pricing',
|
title: 'plans_and_pricing',
|
||||||
metadata,
|
|
||||||
currentView,
|
currentView,
|
||||||
plans,
|
plans,
|
||||||
itm_content: req.query?.itm_content,
|
itm_content: req.query?.itm_content,
|
||||||
|
|||||||
Reference in New Issue
Block a user