lib/gumdrop/build.rb in gumdrop-0.3.7 vs lib/gumdrop/build.rb in gumdrop-0.3.8

- old
+ new

@@ -32,12 +32,13 @@ elsif File.extname(path) == ".generator" Gumdrop.generators[File.basename(path)]= Generator.new( node ) elsif File.basename(path).starts_with?("_") partial_name= File.basename(path)[1..-1].gsub(File.extname(File.basename(path)), '') + partial_node_path= File.join File.dirname(path), partial_name # puts "Creating partial #{partial_name} from #{path}" Gumdrop.partials[partial_name]= node - + Gumdrop.partials[partial_node_path]= node else Gumdrop.site[path]= node end end end \ No newline at end of file