diff --git a/_plugins/sitemap_generator.rb b/_plugins/sitemap_generator.rb index 52f17892e1..e478f50006 100644 --- a/_plugins/sitemap_generator.rb +++ b/_plugins/sitemap_generator.rb @@ -90,7 +90,7 @@ def generate(site) # File I/O: create sitemap.xml file and write out pretty-printed XML filename = @config['filename'] - file = File.new(File.join(site.dest+"/../", filename), "w") # + file = File.new(File.join(site.dest+"/../", filename), "w") formatter = REXML::Formatters::Pretty.new(4) formatter.compact = true formatter.write(sitemap, file)