lib/amber/static_page/render.rb
def link_page_aliases(dest_dir, alias_paths, locale=I18n.default_locale)
      alias_paths.each do |alias_path|
        alias_file_path = File.join(dest_dir, alias_path)
        #if locale != I18n.default_locale
        #  alias_file_path += ".#{locale}"
        #end
        alias_file_path = Pathname.new(alias_file_path)
        page_file_path  = Pathname.new(File.join(dest_dir, *@path))
        symlink(page_file_path, alias_file_path)
      end
    end
def link_page_aliases(dest_dir, alias_paths, locale=I18n.default_locale)
      alias_paths.each do |alias_path|
        alias_file_path = File.join(dest_dir, alias_path)
        #if locale != I18n.default_locale
        #  alias_file_path += ".#{locale}"
        #end
        alias_file_path = Pathname.new(alias_file_path)
        page_file_path  = Pathname.new(File.join(dest_dir, *@path))
        symlink(page_file_path, alias_file_path)
      end
    end
creates symlinks for aliases to this page.
 called by Page#render_to_file and Site#render_short_path_aliases