diff --git a/resources/views/portal/ninja2020/layout/app.blade.php b/resources/views/portal/ninja2020/layout/app.blade.php index f8b4c41bbebb..160981306eec 100644 --- a/resources/views/portal/ninja2020/layout/app.blade.php +++ b/resources/views/portal/ninja2020/layout/app.blade.php @@ -72,8 +72,10 @@ {{-- Feel free to push anything to header using @push('header') --}} @stack('head') - @if((bool) \App\Utils\Ninja::isSelfHost()) - {!! $client->getSetting('portal_custom_head') !!} + @if((bool) \App\Utils\Ninja::isSelfHost() && !empty($client->getSetting('portal_custom_head'))) +
+ {!! $client->getSetting('portal_custom_head') !!} +
@endif @@ -125,7 +127,9 @@ @stack('footer') @if((bool) \App\Utils\Ninja::isSelfHost()) - {!! $client->getSetting('portal_custom_footer') !!} +
+ {!! $client->getSetting('portal_custom_footer') !!} +
@endif