class Jekyll::Reader
def retrieve_pages(dir, dot_pages)
dot_pages - The Array of pages in the dir.
dir - The String representing the directory retrieve the pages from.
add them to the site and sort them.
Retrieve all the pages from the current directory,
def retrieve_pages(dir, dot_pages) site.pages.concat(PageReader.new(site, dir).read(dot_pages)) end