Skip to content

Commit

Permalink
remove website example
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Apr 30, 2024
1 parent 60eef87 commit d7bbfe0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -490,16 +490,6 @@ export default async function createConfigAsync() {
lastmod: 'date',
priority: null,
changefreq: null,
createSitemapItems: async (params) => {
const {defaultCreateSitemapItems, ...rest} = params;
const sitemapItems = await defaultCreateSitemapItems(rest);
const sitemapsWithoutPageAndTags = sitemapItems.filter(
(sitemapItem) =>
!sitemapItem.url.includes('/tags/') &&
!sitemapItem.url.includes('/page/'),
);
return sitemapsWithoutPageAndTags;
},
},
} satisfies Preset.Options,
],
Expand Down

0 comments on commit d7bbfe0

Please sign in to comment.