BookStack/resources/views/pages/export.blade.php
Dan Brown e3e484e561
Added custom head content to exports
Closes #981

Also fixed incorrect download tests.
2018-09-22 11:53:40 +01:00

35 lines
817 B
PHP

<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>{{ $page->name }}</title>
<style>
@if (!app()->environment('testing'))
{!! file_get_contents(public_path('/dist/export-styles.css')) !!}
@endif
</style>
@yield('head')
@include('partials.custom-head')
</head>
<body>
<div class="container" id="page-show">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="page-content">
@include('pages.page-display')
<hr>
<div class="text-muted text-small">
@include('partials.entity-meta', ['entity' => $page])
</div>
</div>
</div>
</div>
</div>
</body>
</html>