Remove Site#read_layouts
This commit is contained in:
parent
facf115c04
commit
fd92820b03
|
@ -127,19 +127,11 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns nothing.
|
# Returns nothing.
|
||||||
def read
|
def read
|
||||||
self.read_layouts
|
self.layouts = LayoutReader.new(self).read
|
||||||
self.read_directories
|
self.read_directories
|
||||||
self.read_data(config['data_source'])
|
self.read_data(config['data_source'])
|
||||||
end
|
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
|
# Recursively traverse directories to find posts, pages and static files
|
||||||
# that will become part of the site according to the rules in
|
# that will become part of the site according to the rules in
|
||||||
# filter_entries.
|
# filter_entries.
|
||||||
|
|
Loading…
Reference in New Issue