mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-03 19:25:22 -05:00
Remove Site#read_layouts
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user