Method: Jekyll::PostReader#read_posts

Defined in:
lib/ngage/jekyll/readers/post_reader.rb

#read_posts(dir) ⇒ Object

Read all the files in <source>/<dir>/_posts and create a new Document object with each one.

dir - The String relative path of the directory to read.

Returns nothing.



26
27
28
# File 'lib/ngage/jekyll/readers/post_reader.rb', line 26

def read_posts(dir)
  read_publishable(dir, "_posts", Document::DATE_FILENAME_MATCHER)
end