]> BookStack Code Mirror - bookstack/blobdiff - resources/views/chapters/export.blade.php
Install composer dependencies in Docker entrypoint
[bookstack] / resources / views / chapters / export.blade.php
index 580c123ccf6d7901491f80e943ff03a264ae3bb6..506e8db3d40f7c18b5c7ca60fefb3ca4fe0c5ff6 100644 (file)
@@ -4,10 +4,9 @@
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
     <title>{{ $chapter->name }}</title>
 
+    @include('partials.export-styles', ['format' => $format])
+
     <style>
-        @if (!app()->environment('testing'))
-        {!! file_get_contents(public_path('/dist/export-styles.css')) !!}
-        @endif
         .page-break {
             page-break-after: always;
         }
@@ -20,7 +19,6 @@
             }
         }
     </style>
-    @yield('head')
     @include('partials.custom-head')
 </head>
 <body>