LayoutReader: read proper item from theme class

This commit is contained in:
Parker Moore 2016-04-21 16:10:43 -07:00
parent 2b73696d03
commit 3b2d68d333
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
1 changed files with 1 additions and 1 deletions

View File

@ -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