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
949 stars 134 forks source link

Add XML file type to INCLUDED_EXTENSIONS #258

Closed nickjj closed 4 years ago

nickjj commented 4 years ago

One potential use case for this would be to add XML feeds to your sitemap. This is handy so that crawlers such as Google can better find your feeds.

This closes #252.

ashmaroli commented 4 years ago

@nickjj Can you add a small test for this? There will be an existing test for .pdf, you just need to duplicate that for .xml files as well. You can use the commit that introduced .pdf as reference. Thanks.

nickjj commented 4 years ago

Yeah no problem. Let me know if that works for you.

ashmaroli commented 4 years ago

It'll do @nickjj. Thanks. I'll approve this as soon as the CI build finishes.

ashmaroli commented 4 years ago

Thank you very much @nickjj @jekyllbot: merge +minor