diff --git a/config/setting-defaults.php b/config/setting-defaults.php index 22c992aa4..deafceb29 100644 --- a/config/setting-defaults.php +++ b/config/setting-defaults.php @@ -9,6 +9,7 @@ return [ 'app-editor' => 'wysiwyg', 'app-color' => '#0288D1', 'app-color-light' => 'rgba(21, 101, 192, 0.15)', + 'app-custom-head' => false, 'registration-enabled' => false, ]; \ No newline at end of file diff --git a/resources/views/base.blade.php b/resources/views/base.blade.php index be47abdca..961ead251 100644 --- a/resources/views/base.blade.php +++ b/resources/views/base.blade.php @@ -23,7 +23,7 @@ @include('partials/custom-styles') - @if(setting('app-custom-head', false)) + @if(setting('app-custom-head')) {!! setting('app-custom-head') !!} @endif diff --git a/resources/views/public.blade.php b/resources/views/public.blade.php index 2de4d968a..2bce41570 100644 --- a/resources/views/public.blade.php +++ b/resources/views/public.blade.php @@ -17,6 +17,11 @@ @include('partials/custom-styles') + + + @if(setting('app-custom-head')) + {!! setting('app-custom-head') !!} + @endif