re add sitemap each
This commit is contained in:
parent
41d5337f5b
commit
de077201bd
|
@ -38,6 +38,12 @@ module Middleman::Sitemap
|
||||||
@pages[path]
|
@pages[path]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def each(&block)
|
||||||
|
@pages.each do |k, v|
|
||||||
|
yield k, v
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def all_paths
|
def all_paths
|
||||||
@pages.keys
|
@pages.keys
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue