diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index a154d134..ed55598f 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -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 / 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.