Don't include the theme's includes_path if it is nil.
This commit is contained in:
parent
e509cf2139
commit
9a5307c3f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue