Write directory_indexes based on destination_path so it plays well with other manipulators
This commit is contained in:
parent
c117415913
commit
7598165909
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ module Middleman::Extensions
|
||||||
next
|
next
|
||||||
end
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue