lib/middleman-sculptor/helpers/resources.rb in middleman-sculptor-0.9 vs lib/middleman-sculptor/helpers/resources.rb in middleman-sculptor-0.10
- old
+ new
@@ -133,10 +133,10 @@
options[:data_fields].each do |field|
data[field] = r.data[field]
if field == :title && !r.data.title
- data[field] = resource_dir(r)
+ data[field] = resource_dir(r).upcase
end
end
data
end