From 87d6bae04e996aac81df99ebe7c02d94ed16e66a Mon Sep 17 00:00:00 2001 From: Axel Date: Sat, 11 Jul 2020 19:52:23 -0400 Subject: [PATCH] Using bhavyanshu proposed fix issue here: https://github.com/kinnetica/jekyll-plugins/issues/6 --- _plugins/sitemap_generator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)