Flatten paths sent into `#in_dest_dir`
This commit is contained in:
parent
f7b1782294
commit
68e9c84a18
|
@ -110,7 +110,7 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns a path which is prefixed with the destination directory.
|
# Returns a path which is prefixed with the destination directory.
|
||||||
def in_dest_dir(*paths)
|
def in_dest_dir(*paths)
|
||||||
Jekyll.sanitized_path(dest, File.join(*paths))
|
Jekyll.sanitized_path(dest, File.join(*paths.flatten))
|
||||||
end
|
end
|
||||||
|
|
||||||
# The list of collections and their corresponding Jekyll::Collection instances.
|
# The list of collections and their corresponding Jekyll::Collection instances.
|
||||||
|
|
Loading…
Reference in New Issue