mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-29 20:23:52 +08:00
88012449f3
Moved export templates elements into their own folder for better grouping of logical usage. Within the base export template, added some body classes to allow easier targeted customisation via custom head css. Split content of export templates into smaller partials for easier future customization. Closes #3443
19 lines
589 B
PHP
19 lines
589 B
PHP
<!doctype html>
|
|
<html lang="{{ config('app.lang') }}">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
<title>@yield('title')</title>
|
|
|
|
@if($cspContent ?? false)
|
|
<meta http-equiv="Content-Security-Policy" content="{{ $cspContent }}">
|
|
@endif
|
|
|
|
@include('exports.parts.styles', ['format' => $format, 'engine' => $engine ?? ''])
|
|
@include('exports.parts.custom-head')
|
|
</head>
|
|
<body class="export export-format-{{ $format }} export-engine-{{ $engine ?? 'none' }}">
|
|
<div class="page-content">
|
|
@yield('content')
|
|
</div>
|
|
</body>
|
|
</html> |