module Jekyll::Algolia::FileBrowser
def self.absolute_path(filepath)
Public: Return the absolute path of a Jekyll file
def self.absolute_path(filepath) pathname = Pathname.new(filepath) return pathname.cleanpath.to_s if pathname.absolute? File.expand_path(File.join(Configurator.get('source'), filepath)) end