Write directory_indexes based on destination_path so it plays well with other manipulators
This commit is contained in:
parent
c117415913
commit
7598165909
|
@ -46,7 +46,7 @@ module Middleman::Extensions
|
|||
next
|
||||
end
|
||||
|
||||
resource.destination_path = resource.path.chomp(File.extname(index_file)) + new_index_path
|
||||
resource.destination_path = resource.destination_path.chomp(File.extname(index_file)) + new_index_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue