big_sitemap icon indicating copy to clipboard operation
big_sitemap copied to clipboard

Paths are truncated to the last element

Open csshsh opened this issue 13 years ago • 1 comments

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?

csshsh avatar Nov 15 '11 19:11 csshsh

I think we need to remove File.basename(path) and replace with just path

gerbdla avatar Jan 10 '12 06:01 gerbdla