diff --git a/resources/views/portal/ninja2020/layout/app.blade.php b/resources/views/portal/ninja2020/layout/app.blade.php
index 98500616a77f..b0f8e88f0ed0 100644
--- a/resources/views/portal/ninja2020/layout/app.blade.php
+++ b/resources/views/portal/ninja2020/layout/app.blade.php
@@ -56,16 +56,20 @@
-
+ @if((bool) Ninja::isSelfHost())
+
+ @endif
@livewireStyles
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')
- {!! $client->getSetting('portal_custom_head') !!}
+ @if((bool) Ninja::isSelfHost())
+ {!! $client->getSetting('portal_custom_head') !!}
+ @endif
@include('portal.ninja2020.components.primary-color')
@@ -88,11 +92,14 @@
@yield('footer')
@stack('footer')
- {!! $client->getSetting('portal_custom_footer') !!}
+ @if((bool) Ninja::isSelfHost())
+ {!! $client->getSetting('portal_custom_footer') !!}
+ @endif
-
-
+ @if((bool) Ninja::isSelfHost())
+
+ @endif