diff --git a/lib/middleman/sitemap/store.rb b/lib/middleman/sitemap/store.rb index bbb1d7d6..3c2688c3 100644 --- a/lib/middleman/sitemap/store.rb +++ b/lib/middleman/sitemap/store.rb @@ -83,7 +83,6 @@ module Middleman::Sitemap path = path.sub(/^\//, "") @pages.delete(path) if @pages.has_key?(path) - @context_map.delete(path) if @context_map.has_key?(path) end def file_to_path(file) @@ -140,4 +139,4 @@ module Middleman::Sitemap end end end -end \ No newline at end of file +end