mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-27 02:33:43 +08:00
ac9a65945f
- 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
24 lines
712 B
PHP
24 lines
712 B
PHP
<!DOCTYPE html>
|
|
<html lang="{{ $locale->htmlLang() }}"
|
|
dir="{{ $locale->htmlDirection() }}"
|
|
class="@yield('document-class')">
|
|
<head>
|
|
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
|
|
|
|
<!-- Meta -->
|
|
<meta name="viewport" content="width=device-width">
|
|
<meta charset="utf-8">
|
|
|
|
<!-- Styles and Fonts -->
|
|
<link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
|
|
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
|
|
|
|
<!-- Custom Styles & Head Content -->
|
|
@include('common.custom-styles')
|
|
@include('common.custom-head')
|
|
</head>
|
|
<body>
|
|
@yield('content')
|
|
</body>
|
|
</html>
|