do not check description file for theme-custom (#437)
* do not check description file for theme-custom * deprecation note
This commit is contained in:
		
							parent
							
								
									fc9f1b6bcc
								
							
						
					
					
						commit
						c58c4f866a
					
				@ -96,6 +96,13 @@ func loadThirdPartyTemplates(tmpl *template.Template) *template.Template {
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		themeDir := theme.Name()
 | 
			
		||||
		if themeDir == "theme-custom" {
 | 
			
		||||
			// for backward compatibility
 | 
			
		||||
			// note: will remove this in future versions
 | 
			
		||||
			ret = loadTemplates(ret, themeDir)
 | 
			
		||||
			continue
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if strings.HasPrefix(themeDir, "dashboard-") {
 | 
			
		||||
			// load dashboard templates, ignore desc file
 | 
			
		||||
			ret = loadTemplates(ret, themeDir)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user