module Jekyll::Algolia::Logger

def self.write_to_file(filename, content)

content - the actual content of the file
filename - the file basename

Public: Write the specified content to a file in the source directory
def self.write_to_file(filename, content)
  filepath = File.join(Configurator.get('source'), filename)
  File.write(filepath, content)
  filepath
end