lib/awestruct/extensions/sitemap.rb in awestructx-0.4.0 vs lib/awestruct/extensions/sitemap.rb in awestructx-0.4.1.x1
- old
+ new
@@ -31,9 +31,10 @@
# Create a sitemap.xml file from our template
sitemap = File.join( File.dirname(__FILE__), 'sitemap.xml.haml' )
page = site.engine.load_page( sitemap )
page.output_path = 'sitemap.xml'
page.sitemap_entries = sitemap_pages
+ page.do_not_track_dependencies = true
# Add the sitemap to our site
site.pages << page
end