jekyll / jekyll-sitemap

Jekyll plugin to silently generate a sitemaps.org compliant sitemap for your Jekyll site
http://rubygems.org/gems/jekyll-sitemap
MIT License
961 stars 135 forks source link

Add option to keep index.html in links #255

Closed kriation closed 4 years ago

kriation commented 4 years ago

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 of each set of archives.

I added the code in #254 to provide this functionality ensuring that the default behavior remains the same.

jekyllbot commented 4 years ago

This issue has been automatically marked as stale because it has not been commented on for at least two months.

The resources of the Jekyll team are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.

If this is a feature request, please consider whether it can be accomplished in another way. If it cannot, please elaborate on why it is core to this project and why you feel more than 80% of users would find this beneficial.

This issue will automatically be closed in two months if no further activity occurs. Thank you for all your contributions.