mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
Flatten paths sent into #in_dest_dir
This commit is contained in:
@@ -110,7 +110,7 @@ module Jekyll
|
||||
#
|
||||
# Returns a path which is prefixed with the destination directory.
|
||||
def in_dest_dir(*paths)
|
||||
Jekyll.sanitized_path(dest, File.join(*paths))
|
||||
Jekyll.sanitized_path(dest, File.join(*paths.flatten))
|
||||
end
|
||||
|
||||
# The list of collections and their corresponding Jekyll::Collection instances.
|
||||
|
||||
Reference in New Issue
Block a user