Skip to content

Commit

Permalink
coveo script changes to exlcude robots noindex
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-rajneeshkumar committed Nov 27, 2024
1 parent c831b4f commit a9780ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions coveo/generate-coveo-sitemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ async function writeCoveoSitemapXML(index) {
if (item.internal_path.startsWith('/fragments')) return;

if (item.type === 'Landing Page') return;
if (item.robots.includes('noindex')) return;
const excludedPaths = [
'/nav',
'/nav-landing-page',
Expand Down

0 comments on commit a9780ab

Please sign in to comment.