mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
253f386f00
- Added caching for custom html head parsing to add nonce. - Also moved api docs page into web routes to prevent issues.
7 lines
209 B
PHP
7 lines
209 B
PHP
@inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider')
|
|
|
|
@if(setting('app-custom-head'))
|
|
<!-- Custom user content -->
|
|
{!! $headContent->forExport() !!}
|
|
<!-- End custom user content -->
|
|
@endif |