module Jekyll::Algolia::FileBrowser
def self.excluded_by_user?(file)
Files can be excluded either by setting the `files_to_exclude` option,
file - The Jekyll file
Public: Check if the file has been excluded by the user
def self.excluded_by_user?(file) excluded_from_config?(file) || excluded_from_hook?(file) end