lib/nanoc/base/source_data/layout.rb in nanoc-3.4.3 vs lib/nanoc/base/source_data/layout.rb in nanoc-3.5.0b1

- old
+ new

@@ -33,10 +33,10 @@ # @option params [Time, nil] :mtime (nil) The time when this layout was # last modified. Deprecated; pass the modification time as the `:mtime` # attribute instead. def initialize(raw_content, attributes, identifier, params=nil) @raw_content = raw_content - @attributes = attributes.symbolize_keys + @attributes = attributes.symbolize_keys_recursively @identifier = identifier.cleaned_identifier.freeze # Set mtime params ||= {} params = { :mtime => params } if params.is_a?(Time)