X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a61c9c5e98b0a411b081543e3eaf1994d12919b3..refs/pull/3177/head:/resources/views/common/custom-head.blade.php diff --git a/resources/views/common/custom-head.blade.php b/resources/views/common/custom-head.blade.php index fa5ba0cc4..6f88bd43f 100644 --- a/resources/views/common/custom-head.blade.php +++ b/resources/views/common/custom-head.blade.php @@ -1,5 +1,7 @@ +@inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider') + @if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings') -{!! setting('app-custom-head') !!} +{!! $headContent->forWeb() !!} @endif \ No newline at end of file