Parcourir la source

Avoid breaking the page if isnt set.

Paulo Reis il y a 8 ans
Parent
commit
7c95de29cd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/web/app/views/layout.pug

+ 1 - 1
services/web/app/views/layout.pug

@@ -21,7 +21,7 @@ html(itemscope, itemtype='http://schema.org/Product')
 		link(rel="mask-icon", href="/" + settings.brandPrefix + "mask-favicon.svg", color=settings.brandPrefix === 'ol-' ? "#4f9c45" : "#a93529")
 
 		//- Stylesheet
-		link(rel='stylesheet', href=buildCssPath("/" + settings.brandPrefix + settings.themeModifier + "style.css", {hashedPath:true}))
+		link(rel='stylesheet', href=buildCssPath("/" + settings.brandPrefix + (settings.themeModifier != null ? settings.themeModifier : "") + "style.css", {hashedPath:true}))
 
 		block _headLinks