Merge pull request #214 from bhollis/master
Remove reference to unknown instance variable @context_map
This commit is contained in:
commit
faafe71500
|
@ -83,7 +83,6 @@ module Middleman::Sitemap
|
||||||
|
|
||||||
path = path.sub(/^\//, "")
|
path = path.sub(/^\//, "")
|
||||||
@pages.delete(path) if @pages.has_key?(path)
|
@pages.delete(path) if @pages.has_key?(path)
|
||||||
@context_map.delete(path) if @context_map.has_key?(path)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def file_to_path(file)
|
def file_to_path(file)
|
||||||
|
@ -140,4 +139,4 @@ module Middleman::Sitemap
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue