lib/amber/static_page/filesystem.rb
def content_files
      @content_files ||= begin
        if @simple_page
          directory = File.dirname(@file_path)
          regexp = SIMPLE_FILE_MATCH_RE.call(@name)
        else
          directory = @file_path
          regexp = LOCALE_FILE_MATCH_RE
        end
        hsh = {}
        Dir.foreach(directory) do |file|
          if file && match = regexp.match(file)
            locale = match['locale'] || I18n.default_locale
            hsh[locale.to_sym] = File.join(directory, file)
          end
        end
        hsh
      end
    end
def content_files
      @content_files ||= begin
        if @simple_page
          directory = File.dirname(@file_path)
          regexp = SIMPLE_FILE_MATCH_RE.call(@name)
        else
          directory = @file_path
          regexp = LOCALE_FILE_MATCH_RE
        end
        hsh = {}
        Dir.foreach(directory) do |file|
          if file && match = regexp.match(file)
            locale = match['locale'] || I18n.default_locale
            hsh[locale.to_sym] = File.join(directory, file)
          end
        end
        hsh
      end
    end
returns the files that compose the content for this page,
 a different file for each locale (or no locale)

 returns a hash like so:

  {
     :en => '/path/to/page/en.haml',
     :es => '/path/to/page/index.es.md'
  }

 Or this, if page is simple:

 {
   :en => '/path/to/page.haml'
 }