lib/jekyll-sitemap.rb in jekyll-sitemap-0.4.0 vs lib/jekyll-sitemap.rb in jekyll-sitemap-0.4.1
- old
+ new
@@ -38,10 +38,10 @@
end
def sitemap_content
site_map = Page.new(@site, File.dirname(__FILE__), "", "sitemap.xml")
site_map.content = File.read(source_path)
- site_map.render(@site.layouts, @site.site_payload)
+ site_map.render(Hash.new, @site.site_payload)
site_map.output
end
# Checks if a sitemap already exists in the site source
def sitemap_exists?