mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-09 13:23:17 +08:00
![Dan Brown](/assets/img/avatar_default.png)
- Reduced app settings down to what's required. - Used new view-shared $locale object instead of using globals via config. - Aligned language used to default on "locale" instead of mixing locale/language. For #4501
21 lines
676 B
PHP
21 lines
676 B
PHP
<!doctype html>
|
|
<html lang="{{ $locale->htmlLang() }}">
|
|
<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' }}">
|
|
@include('layouts.parts.export-body-start')
|
|
<div class="page-content">
|
|
@yield('content')
|
|
</div>
|
|
@include('layouts.parts.export-body-end')
|
|
</body>
|
|
</html> |