adding metadata object with robotsNoindexNofollow for plans-2 and plans-3 (#20321)

GitOrigin-RevId: 97fec521b19dac5af9cef9851f0ea145bd187b64
This commit is contained in:
Davinder Singh 2024-09-06 13:25:18 +01:00 committed by Copybot
parent 7d80d22e96
commit 19295559c9

View file

@ -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,