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