Wrap the LayoutReader in the Jekyll module

This commit is contained in:
Matt Rogers & Persa Zula 2014-02-06 23:07:38 -06:00
parent 833b40095f
commit c36a6d3e0d
1 changed files with 34 additions and 34 deletions

View File

@ -1,4 +1,5 @@
class LayoutReader module Jekyll
class LayoutReader
attr_reader :site attr_reader :site
def initialize(site) def initialize(site)
@site = site @site = site
@ -35,6 +36,5 @@ class LayoutReader
def layout_directory def layout_directory
File.join(site.source, site.config['layouts']) File.join(site.source, site.config['layouts'])
end end
end
end end