LayoutReader: read proper item from theme class
This commit is contained in:
parent
2b73696d03
commit
3b2d68d333
|
@ -23,7 +23,7 @@ module Jekyll
|
||||||
end
|
end
|
||||||
|
|
||||||
def theme_layout_directory
|
def theme_layout_directory
|
||||||
@theme_layout_directory ||= site.theme.layout_dir if site.theme
|
@theme_layout_directory ||= site.theme.layouts_path if site.theme
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue