diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 4ebecd8..8859490 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -14,7 +14,10 @@ export default defineConfig({ lang: 'en-US', appearance: 'dark', lastUpdated: true, - sitemap: sitemapConfig, + sitemap: { + ...sitemapConfig, + transformItems: items => items.filter(({ url }) => !url.startsWith('nuxt-auth')) + }, head: headConfig, themeConfig: { logo: { diff --git a/.vitepress/head.ts b/.vitepress/head.ts index 9621130..e847b1e 100644 --- a/.vitepress/head.ts +++ b/.vitepress/head.ts @@ -3,9 +3,7 @@ import type { HeadConfig } from 'vitepress' const HOST_NAME = 'https://sidebase.io' const OG_IMAGE_URL = `${HOST_NAME}/sidebase-og.jpg` -export const sitemapConfig = { - hostname: HOST_NAME -} +export const sitemapConfig = { hostname: HOST_NAME } export const headConfig: HeadConfig[] = [ ['link', { rel: 'icon', href: '/favicon.ico' }],