From c32727fff6c5786fc5d29bcd724d13583e72b140 Mon Sep 17 00:00:00 2001 From: Kian Newman-Hazel Date: Wed, 29 Jan 2025 18:30:49 +0000 Subject: [PATCH] [Docs Site] Exclude Style Guide from sitemap --- astro.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/astro.config.ts b/astro.config.ts index fcf13e786ff74b6..91ddced3bfd66e8 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -137,6 +137,11 @@ export default defineConfig({ }), icon(), sitemap({ + filter(page) { + return !page.startsWith( + "https://developers.cloudflare.com/style-guide/", + ); + }, serialize(item) { item.lastmod = new Date().toISOString(); return item;