lib/jekyll-sitemap.rb in jekyll-sitemap-0.5.0 vs lib/jekyll-sitemap.rb in jekyll-sitemap-0.5.1
- old
+ new
@@ -38,9 +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.data["layout"] = nil
site_map.render(Hash.new, @site.site_payload)
site_map.output
end
# Checks if a sitemap already exists in the site source