mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-20 03:40:45 +08:00

- Added caching for custom html head parsing to add nonce. - Also moved api docs page into web routes to prevent issues.
7 lines
251 B
PHP
7 lines
251 B
PHP
@inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider')
|
|
|
|
@if(setting('app-custom-head') && \Route::currentRouteName() !== 'settings')
|
|
<!-- Custom user content -->
|
|
{!! $headContent->forWeb() !!}
|
|
<!-- End custom user content -->
|
|
@endif |