Просмотр исходного кода

Avoid breaking the page if isnt set.

Paulo Reis 8 лет назад
Родитель
Сommit
7c95de29cd
1 измененных файлов с 1 добавлено и 1 удалено
  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