module Jekyll::Algolia::Indexer

def self.remote_settings

In case the index is not accessible, it will return nil

Public: Get the settings of the remote index
def self.remote_settings
  index.get_settings
rescue StandardError
  nil
end