]> BookStack Code Mirror - bookstack/blobdiff - resources/views/layouts/export.blade.php
TypeScript: Updated compile target, addressed issues
[bookstack] / resources / views / layouts / export.blade.php
index 55df43a45a20e0f5474b43691541569b1d4dc957..4a55e034c5d7748e3e9201cafd3c6e254a8a40c6 100644 (file)
@@ -1,15 +1,21 @@
 <!doctype html>
-<html lang="{{ config('app.lang') }}">
+<html lang="{{ $locale->htmlLang() }}">
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <title>@yield('title')</title>
 
-    @include('common.export-styles', ['format' => $format])
-    @include('common.export-custom-head')
+    @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>
-<div class="page-content">
+<body class="export export-format-{{ $format }} export-engine-{{ $engine ?? 'none' }}">
+@include('layouts.parts.export-body-start')
+<div class="page-content" dir="auto">
     @yield('content')
 </div>
+@include('layouts.parts.export-body-end')
 </body>
 </html>
\ No newline at end of file