Remove Site#read_layouts

This commit is contained in:
Matt Rogers & Persa Zula 2014-02-06 22:46:09 -06:00
parent facf115c04
commit fd92820b03
1 changed files with 1 additions and 9 deletions

View File

@ -127,19 +127,11 @@ module Jekyll
#
# Returns nothing.
def read
self.read_layouts
self.layouts = LayoutReader.new(self).read
self.read_directories
self.read_data(config['data_source'])
end
# Read all the files in <source>/<layouts> and create a new Layout object
# with each one.
#
# Returns nothing.
def read_layouts
self.layouts = LayoutReader.new(self).read
end
# Recursively traverse directories to find posts, pages and static files
# that will become part of the site according to the rules in
# filter_entries.