big_sitemap
big_sitemap copied to clipboard
Paths are truncated to the last element
If I do something like:
add '/about/privacy'
In the site map it shows up as this url:
http://example.com/privacy
This seems due to this code in big_sitemap.rb:
url = File.join @options[:base_url], File.basename(path)
How come you are using File.basename with the path?
I think we need to remove File.basename(path) and replace with just path