class Jekyll::FrontmatterDefaults
def matching_sets(path, type)
Collects a list of sets that match the given path and type
def matching_sets(path, type) @matched_set_cache ||= {} @matched_set_cache[path] ||= {} @matched_set_cache[path][type] ||= valid_sets.select do |set| !set.key?("scope") || applies?(set["scope"], path, type) end end