in _plugins/jekyll_relative_links.rb [255:268]
def excluded?(document)
return false unless option("exclude")
entry_filter = if document.respond_to?(:collection)
document.collection.entry_filter
else
global_entry_filter
end
entry_filter.glob_include?(option("exclude"), document.relative_path).tap do |excluded|
Jekyll.logger.debug(LOG_KEY, "excluded #{document.relative_path}") if excluded
end
end