Site#configure_theme: do not set theme unless it's a string
Some previous ad-hoc 'themes' used this configuration option to store a hash of values. In that case, we should simply pretend we have no theme.
This commit is contained in:
		
							parent
							
								
									da0b456288
								
							
						
					
					
						commit
						2bd592077d
					
				|  | @ -424,7 +424,7 @@ module Jekyll | ||||||
|     private |     private | ||||||
|     def configure_theme |     def configure_theme | ||||||
|       self.theme = nil |       self.theme = nil | ||||||
|       self.theme = Jekyll::Theme.new(config["theme"]) if config["theme"] |       self.theme = Jekyll::Theme.new(config["theme"]) if config["theme"].is_a?(String) | ||||||
|     end |     end | ||||||
| 
 | 
 | ||||||
|     private |     private | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue