show error message for missing theme
This commit is contained in:
		
							parent
							
								
									3a4deb9e0e
								
							
						
					
					
						commit
						8d4af3894a
					
				| @ -267,6 +267,10 @@ | ||||
|     if (!themename) { | ||||
|       themename = desi.site.theme || desi.config.theme; | ||||
|     } | ||||
|     if (!desi.config.themes[themename]) { | ||||
|       console.error("'" + themename + "' was not found among the themes"); | ||||
|       return arr; | ||||
|     } | ||||
| 
 | ||||
|     // TODO NO DEFAULTS
 | ||||
|     if ('__page__' === layoutname) { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user