Skip to content
New issue

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

Automatically exclude noindex pages from the sitemap #601

Open
milljoniaer opened this issue Apr 19, 2022 · 0 comments
Open

Automatically exclude noindex pages from the sitemap #601

milljoniaer opened this issue Apr 19, 2022 · 0 comments
Labels
change:enhancement New feature or request

Comments

@milljoniaer
Copy link
Contributor

Currently we have to exclude pages twice:

  • noindex tag in the layout/dom
  • exclude from the sitemap in gatsby-config

It would be cool to exclude pages automatically from the sitemap if there is a noindex tag in the header.

Maybe this can be helpful:

@milljoniaer milljoniaer added the change:enhancement New feature or request label Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant