File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
src/app/shared/theme-support Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -240,14 +240,7 @@ export class ThemeService {
240240 if ( hasValue ( parentThemeName ) ) {
241241 // inherit the head tags of the parent theme
242242 return this . createHeadTags ( parentThemeName ) ;
243- }
244- const defaultThemeConfig = getDefaultThemeConfig ( ) ;
245- const defaultThemeName = defaultThemeConfig . name ;
246- if (
247- hasNoValue ( defaultThemeName ) ||
248- themeName === defaultThemeName ||
249- themeName === BASE_THEME_NAME
250- ) {
243+ } else {
251244 // last resort, use fallback favicon.ico
252245 return [
253246 this . createHeadTag ( {
@@ -260,9 +253,6 @@ export class ThemeService {
260253 } )
261254 ] ;
262255 }
263-
264- // inherit the head tags of the default theme
265- return this . createHeadTags ( defaultThemeName ) ;
266256 }
267257
268258 return headTagConfigs . map ( this . createHeadTag . bind ( this ) ) ;
You can’t perform that action at this time.
0 commit comments