lib/nanoc/data_sources/filesystem_unified.rb in nanoc-3.4.3 vs lib/nanoc/data_sources/filesystem_unified.rb in nanoc-3.5.0b1

- old
+ new

@@ -83,10 +83,10 @@ Nanoc::NotificationCenter.post(:file_created, path) # Write item FileUtils.mkdir_p(parent_path) File.open(path, 'w') do |io| - meta = attributes.stringify_keys + meta = attributes.stringify_keys_recursively unless meta == {} io.write(YAML.dump(meta).strip + "\n") io.write("---\n\n") end io.write(content)