lib/octopress-ink/plugin.rb in octopress-ink-1.0.0.rc.26 vs lib/octopress-ink/plugin.rb in octopress-ink-1.0.0.rc.27

- old
+ new

@@ -376,10 +376,12 @@ end end def glob_assets(dir) return [] unless Dir.exist? dir - Find.find(dir).to_a.reject {|f| File.directory? f } + Find.find(dir).to_a.reject do |file| + File.directory?(file) || File.basename(file) =~ /^\./ + end end def css @css.reject{|f| f.disabled? }.compact end