From 7c95de29cd2cc0a35c1794114a33d02984262ab2 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Fri, 24 Aug 2018 12:06:26 +0100 Subject: [PATCH] Avoid breaking the page if isnt set. --- services/web/app/views/layout.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/views/layout.pug b/services/web/app/views/layout.pug index 683e2c8f0b..129e30a4a0 100644 --- a/services/web/app/views/layout.pug +++ b/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