mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-29 08:48:01 -05:00
LayoutReader: read proper item from theme class
This commit is contained in:
@@ -23,7 +23,7 @@ module Jekyll
|
||||
end
|
||||
|
||||
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
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user