Don't include the theme's includes_path if it is nil.

This commit is contained in:
Parker Moore 2017-01-16 19:17:45 -05:00
parent e509cf2139
commit 9a5307c3f9
No known key found for this signature in database
GPG Key ID: 193CDEBA72063C58
1 changed files with 1 additions and 1 deletions

View File

@ -435,7 +435,7 @@ module Jekyll
private
def configure_include_paths
@includes_load_paths = Array(in_source_dir(config["includes_dir"].to_s))
@includes_load_paths << theme.includes_path if self.theme
@includes_load_paths << theme.includes_path if self.theme && theme.includes_path
end
private