Wrap the LayoutReader in the Jekyll module
This commit is contained in:
parent
833b40095f
commit
c36a6d3e0d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue