X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/756b55bbffedb6e5fde91f9fbc61f5a382f20705..refs/pull/3433/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 6f88bd43f..a13215cf8 100644 --- a/resources/views/common/custom-head.blade.php +++ b/resources/views/common/custom-head.blade.php @@ -1,7 +1,7 @@ @inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider') -@if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings') - +@if(setting('app-custom-head') && !request()->routeIs('settings.category')) + {!! $headContent->forWeb() !!} - + @endif \ No newline at end of file