]> BookStack Code Mirror - bookstack/commitdiff
Added convenience theme system partials for export layouts
authorDan Brown <redacted>
Tue, 9 Aug 2022 12:46:52 +0000 (13:46 +0100)
committerDan Brown <redacted>
Tue, 9 Aug 2022 12:46:52 +0000 (13:46 +0100)
To allow easier additions to start/end of body tag in export formats.

resources/views/layouts/export.blade.php
resources/views/layouts/parts/export-body-end.blade.php [new file with mode: 0644]
resources/views/layouts/parts/export-body-start.blade.php [new file with mode: 0644]

index d631ad3c9bf81db2a70badcf0acf11260a6eddc3..e041d8dea88afa7c108a93b1c08ff792bdcb2b19 100644 (file)
     @include('exports.parts.custom-head')
 </head>
 <body class="export export-format-{{ $format }} export-engine-{{ $engine ?? 'none' }}">
+@include('layouts.parts.export-body-start')
 <div class="page-content">
     @yield('content')
 </div>
+@include('layouts.parts.export-body-end')
 </body>
 </html>
\ No newline at end of file
diff --git a/resources/views/layouts/parts/export-body-end.blade.php b/resources/views/layouts/parts/export-body-end.blade.php
new file mode 100644 (file)
index 0000000..4711989
--- /dev/null
@@ -0,0 +1,2 @@
+{{-- This is a placeholder template file provided as a --}}
+{{-- convenience to users of the visual theme system. --}}
\ No newline at end of file
diff --git a/resources/views/layouts/parts/export-body-start.blade.php b/resources/views/layouts/parts/export-body-start.blade.php
new file mode 100644 (file)
index 0000000..4711989
--- /dev/null
@@ -0,0 +1,2 @@
+{{-- This is a placeholder template file provided as a --}}
+{{-- convenience to users of the visual theme system. --}}
\ No newline at end of file