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

Tweaking sitemap options #646

Closed
schneiderfelipe opened this issue Oct 10, 2020 · 1 comment
Closed

Tweaking sitemap options #646

schneiderfelipe opened this issue Oct 10, 2020 · 1 comment

Comments

@schneiderfelipe
Copy link

Hi, how do I tweak the options in the sitemap generator? Specifically, I would like to remove some pages and change the priority of others (currently, all pages have a 0.5 priority value).

[This might have something to do with the planned sitemap_exclude option (it's marked as TODO somewhere in the code).]

@tlienart
Copy link
Owner

tlienart commented Oct 11, 2020

I should get rid of that todo, have a look at #631 for details on how to tweak things :) basically

  • sitemap_exclude
  • sitemap_changefreq
  • sitemap_lastmod
  • sitemap_priority

can all be defined on a page via @def and it should do what you expect (if it doesn't, it's a bug and we should fix it)

(PS: this is not in the docs yet... if you fancy writing a paragraph explaining this in the docs after having given it a shot you'll be a hero 🎖️ )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants