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

Fix sitemap plugin to look for index#.html files (if pagination is on) #167

wants to merge 5 commits into from


Copy link

@Vincent-C Vincent-C commented Feb 22, 2014

The current sitemap plugin only adds index.html to the sitemap, but if the user has pagination enabled (which generates index2.html, index3.html, etc.), then these additional index files don't get added to the sitemap.

I've quickly hacked together a solution that works, although I don't think hardcoding "100" in there is the right thing to do. Suggestions?

Copy link

@mknecht mknecht commented Dec 23, 2016

Hey, what would have to change so that this fix gets included?

Copy link

@justinmayer justinmayer commented Dec 23, 2016

  1. a better solution, preferably, than hardcoding "100"
  2. clean-up into a single commit
Copy link

@kdeldycke kdeldycke commented Jan 4, 2021

This proposed fix is outdated. sitemap code has been refactored in commit pelican-plugins/sitemap@c8cf562 to make it more sensitive to the site configuration.

I guess this PR can be closed.

Copy link

@justinmayer justinmayer commented Jan 4, 2021

Thanks, Kevin!

@justinmayer justinmayer closed this Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants