NOW MANAGED ON CODEBERG
Added custom head content into public pages
Dan Brownc4eed37d8e20
diff --git a/config/setting-defaults.php b/config/setting-defaults.phpindex 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 filediff --git a/resources/views/base.blade.php b/resources/views/base.blade.phpindex be47abdca..961ead251 100644--- a/resources/views/base.blade.php+++ b/resources/views/base.blade.php@@ -23,7 +23,7 @@@include('partials/custom-styles')<!-- Custom user content -->- @if(setting('app-custom-head', false))+ @if(setting('app-custom-head')){!! setting('app-custom-head') !!}@endif</head>diff --git a/resources/views/public.blade.php b/resources/views/public.blade.phpindex 2de4d968a..2bce41570 100644--- a/resources/views/public.blade.php+++ b/resources/views/public.blade.php@@ -17,6 +17,11 @@<!-- Scripts --><script src="{{ baseUrl("/libs/jquery/jquery.min.js?version=2.1.4") }}"></script>@include('partials/custom-styles')++ <!-- Custom user content -->+ @if(setting('app-custom-head'))+ {!! setting('app-custom-head') !!}+ @endif</head><body class="@yield('body-class')" ng-app="bookStack">