helper func

This commit is contained in:
Thomas Reynolds 2011-11-07 23:44:34 -08:00
parent a03ce61627
commit ce841ccd18

View file

@ -76,6 +76,10 @@ module Middleman::CoreExtensions::Sitemap
@map.keys
end
def all_values
@map.values
end
def ignored_path?(path)
path = path.sub(/^\//, "")
ignored_paths.include?(path)