def content_file(locale)
      content_files[locale] || content_files[I18n.default_locale] || content_files.values.first
    end
def content_file(locale)
      content_files[locale] || content_files[I18n.default_locale] || content_files.values.first
    end
e.g. /home/user/dev/leap-public-site/app/views/pages/about-us/contact

def file_path
  "#{@mount_point.directory}/#{@path.join('/')}"
end

 e.g. pages/about-us/contact/en
 RAILS
def template_path(locale=I18n.locale)
  absolute_template_path(locale)
  #if @simple_page
  #  "#{@mount_point.relative_directory}/#{@path.join('/')}"
  #else
  #  "#{@mount_point.relative_directory}/#{@path.join('/')}/#{locale}"
  #end
end

 e.g. pages/about-us/contact/en
 RAILS
def absolute_template_path(locale=I18n.locale)
  if @simple_page
    "#{@mount_point.pages_dir}/#{@path.join('/')}"
  else
    "#{@mount_point.pages_dir}/#{@path.join('/')}/#{locale}"
  end
end

 full filesystem path name of the source content file
 e.g. /home/user/mysite/pages/about-us/contact/en.md