Skip to content

Commit

Permalink
Set the config as a new hash
Browse files Browse the repository at this point in the history
  • Loading branch information
waferbaby committed Oct 23, 2023
1 parent 53bb761 commit 860ead6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dimples/site.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def initialize(source_path, output_path, config)
}

@config = DEFAULT_CONFIG
@config.merge!(config) if config.is_a?(Hash)
@config = @config.merge(config) if config.is_a?(Hash)

%w[pages posts static templates].each do |type|
@paths[type.to_sym] = File.join(@paths[:source], type)
Expand Down

0 comments on commit 860ead6

Please sign in to comment.