Skip to content

Commit

Permalink
Using bhavyanshu proposed fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chepo92 committed Jul 11, 2020
1 parent 19aaa78 commit 4c002e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _plugins/sitemap_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4c002e7

Please sign in to comment.