From dd33b7170dda2972fb8fcc3a727fb961fa20c402 Mon Sep 17 00:00:00 2001 From: Brandon Marshall Date: Wed, 12 Jul 2023 12:04:23 -0700 Subject: [PATCH] MWPW-132487 Fix noindex pages in sitemap (#129) --- helix-query.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helix-query.yaml b/helix-query.yaml index 71ec814..0ebed15 100644 --- a/helix-query.yaml +++ b/helix-query.yaml @@ -19,6 +19,10 @@ indices: select: none value: | parseTimestamp(headers['last-modified'], 'ddd, DD MMM YYYY hh:mm:ss GMT') + robots: + select: head > meta[name="robots"] + value: | + attribute(el, 'content') sitemap-ae_ar: include: - '/ae_ar/customer-success-stories/**'