re add sitemap each

This commit is contained in:
Thomas Reynolds 2011-11-24 15:04:00 -08:00
parent 41d5337f5b
commit de077201bd

View file

@ -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