jekyll-sitemap
jekyll-sitemap copied to clipboard
Add option to keep index.html in links
By default, jekyll-sitemap removes index.html from all permalinks to ensure clean URLs in the resulting sitemap.xml. In some cases (particularly when Jekyll is hosted in S3) keeping index.html is helpful to ensure that search engines can properly hit the index.
@DirtyF @ashmaroli - When you have a chance, could you take a look at this PR?
This would be nice. I'm currently leaving some pages out of my sitemap so Google will stop yelling at me for 403s for things hosted out of S3.
Thanks for the support, @brint! I'm using it in my deployment for this exact reason with a slight adjustment in the Gemfile pulling from my fork.