module Jekyll::Algolia::Configurator

def self.index_name

configured in Jekyll config
Will first try to read the ENV variable, and fallback to the one

Public: Return the index name
def self.index_name
  ENV['ALGOLIA_INDEX_NAME'] || algolia('index_name')
end