This commit is contained in:
Thomas Reynolds 2011-07-01 10:07:50 -07:00
parent 77353b5adf
commit cbdceb26cc
3 changed files with 8 additions and 1 deletions

View file

@ -106,7 +106,7 @@ module Middleman
next
end
next if file_source.include?('layout')
next if file_source.include?('layout') && !file_source.include?('.css')
# Skip partials prefixed with an underscore
next unless file_source.gsub(Middleman::Server.root, '').split('/').select { |p| p[0,1] == '_' }.empty?