We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
astro
2.4.5
None
npm
Mac
any
The filter does not work. Filtered pages are included in the sitemap!
Also, draft pages are included in the sitemap.
https://stackblitz.com/edit/astro-sitemap-bug-fxfr?file=astro.config.mjs
The text was updated successfully, but these errors were encountered:
Caused by 1b90a7a The filtering is only applied to pages and not to routes.
pages
routes
Should be resolved by moving https://github.com/withastro/astro/blob/main/packages/integrations/sitemap/src/index.ts#L129 to line 119
Sorry, something went wrong.
Thankfully, this behavior was fixed by @andremralves in #7263! 🎉
Please update your @astrojs/sitemap dependency to the latest version for the fix.
@astrojs/sitemap
As for draft pages being included, we are hoping to revisit the draft feature for Astro 3.0. Let's discuss that in #7324.
draft
No branches or pull requests
What version of
astro
are you using?2.4.5
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Mac
What browser are you using?
any
Describe the Bug
The filter does not work. Filtered pages are included in the sitemap!
Also, draft pages are included in the sitemap.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/astro-sitemap-bug-fxfr?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: