mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-27 16:03:56 +00:00
adding metadata object with robotsNoindexNofollow for plans-2 and plans-3 (#20321)
GitOrigin-RevId: 97fec521b19dac5af9cef9851f0ea145bd187b64
This commit is contained in:
parent
7d80d22e96
commit
19295559c9
1 changed files with 5 additions and 0 deletions
|
@ -150,6 +150,10 @@ 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')
|
||||||
}
|
}
|
||||||
|
@ -182,6 +186,7 @@ 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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue