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