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

Exclude some pages from sitemap.xml #55

Closed
TuanaCelik opened this issue Nov 22, 2022 · 1 comment · Fixed by #57
Closed

Exclude some pages from sitemap.xml #55

TuanaCelik opened this issue Nov 22, 2022 · 1 comment · Fixed by #57
Labels
enhancement New feature or request

Comments

@TuanaCelik
Copy link
Member

Let's implement a way to exclude some pages from the sitemap generation if needed. E.g. there's no need to have the versioned benchmarks in the sitemp, only haystack.deepset.ai/benchmarks
I found a way you can have an optional "private" or "sitemap_exclude" parameter in the frontmatter (I think) which will exclude it from being added to the sitemap. I think this is what this forum post explains: https://discourse.gohugo.io/t/disable-page-from-sitemap/37213/2

Do I understand this correctly @carlosgauci?

@TuanaCelik TuanaCelik added the enhancement New feature or request label Nov 22, 2022
@carlosgauci carlosgauci linked a pull request Nov 24, 2022 that will close this issue
@carlosgauci
Copy link
Collaborator

@TuanaCelik yep that's correct, just added it: #57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants