mirror of
https://github.com/cloudflare/cloudflare-docs.git
synced 2026-01-16 23:11:06 +00:00
[Docs Site] Exclude Style Guide from sitemap (#19530)
This commit is contained in:
parent
5c5b52632d
commit
9511926724
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue