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

Frontmatter option to exclude a content from the sitemap #3

Closed
vhf opened this issue Feb 2, 2016 · 2 comments
Closed

Frontmatter option to exclude a content from the sitemap #3

vhf opened this issue Feb 2, 2016 · 2 comments

Comments

@vhf
Copy link
Contributor

vhf commented Feb 2, 2016

What would you think about an frontmatter option (e.g. nositemap: true) to exclude a page/post?

Tell me what you think, I could take a stab at it if you don't have time but still have interest for such a PR.

@ludoviclefevre
Copy link
Owner

Hi,

in fact, there's already an undocumented frontmatter option to exclude page or post: (sitemap: false to exclude)

I think I didn't test it so could you tell me if it works for you?

Thanks.

@vhf
Copy link
Contributor Author

vhf commented Feb 3, 2016

Works great, merci beaucoup!

@vhf vhf closed this as completed Feb 3, 2016
vhf added a commit to vhf/hexo-generator-seo-friendly-sitemap that referenced this issue Feb 3, 2016
Documenting stuff.
ludoviclefevre added a commit that referenced this issue Feb 3, 2016
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

No branches or pull requests

2 participants