def retrieve_pages(dir, dot_pages)
      theme_pages = []
      dot_pages.each do |page|
        theme_pages << Page.new(@site, dir, "/", page)
      end
      site.pages.concat(theme_pages)
    end
def retrieve_pages(dir, dot_pages)
      theme_pages = []
      dot_pages.each do |page|
        theme_pages << Page.new(@site, dir, "/", page)
      end
      site.pages.concat(theme_pages)
    end
Retrieve all the pages from the current directory,
 add them to the site and sort them.

 dir - The String representing the directory retrieve the pages from.
 dot_pages - The Array of pages in the dir.

 Returns nothing.