diff --git a/examples/sitemap-ext/src/pages/blog/[...slug].astro b/examples/sitemap-ext/src/pages/blog/[...slug].astro index 28764fbe..63bca7de 100644 --- a/examples/sitemap-ext/src/pages/blog/[...slug].astro +++ b/examples/sitemap-ext/src/pages/blog/[...slug].astro @@ -17,13 +17,13 @@ sitemap(async ({ setSitemap }) => { export const prerender = false; -export async function getStaticPaths() { - const posts = await getCollection('blog'); - return posts.map((post) => ({ - params: { slug: post.slug }, - props: post, - })); -} +// export async function getStaticPaths() { +// const posts = await getCollection('blog'); +// return posts.map((post) => ({ +// params: { slug: post.slug }, +// props: post, +// })); +// } type Props = CollectionEntry<'blog'>; const post = Astro.props;