fix for #58
This commit is contained in:
parent
5ded17c775
commit
80e120060b
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ module Middleman
|
|||
next if file_source.include?('layout')
|
||||
|
||||
# Skip partials prefixed with an underscore
|
||||
next unless file_source.split('/').select { |p| p[0,1] == '_' }.empty?
|
||||
next unless file_source.gsub(Middleman::Server.root, '').split('/').select { |p| p[0,1] == '_' }.empty?
|
||||
|
||||
file_extension = File.extname(file_source)
|
||||
file_destination = File.join(given_destination, file_source.gsub(source, '.'))
|
||||
|
|
Loading…
Reference in a new issue