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

add option to exclude pages from sitemap #57

Merged
merged 1 commit into from
Nov 24, 2022
Merged

Conversation

carlosgauci
Copy link
Collaborator

Added option to exclude pages from the sitemap by adding sitemap_exclude: true to frontmatter.

@vercel
Copy link

vercel bot commented Nov 24, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
haystack-home ✅ Ready (Inspect) Visit Preview Nov 24, 2022 at 0:17AM (UTC)

@carlosgauci carlosgauci linked an issue Nov 24, 2022 that may be closed by this pull request
@TuanaCelik
Copy link
Member

This would still work if the frontmatter item doesn't exist at all correct?

@TuanaCelik
Copy link
Member

I checked out and tried it myself, cool! This works really well :)

@TuanaCelik TuanaCelik merged commit 805aac9 into main Nov 24, 2022
@TuanaCelik TuanaCelik deleted the sitemap-exclude branch November 24, 2022 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exclude some pages from sitemap.xml
2 participants