helper func
This commit is contained in:
parent
a03ce61627
commit
ce841ccd18
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,10 @@ module Middleman::CoreExtensions::Sitemap
|
||||||
@map.keys
|
@map.keys
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def all_values
|
||||||
|
@map.values
|
||||||
|
end
|
||||||
|
|
||||||
def ignored_path?(path)
|
def ignored_path?(path)
|
||||||
path = path.sub(/^\//, "")
|
path = path.sub(/^\//, "")
|
||||||
ignored_paths.include?(path)
|
ignored_paths.include?(path)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue