2015-07-12 15:01:42 -04:00
|
|
|
<!DOCTYPE html>
|
2020-04-11 15:37:51 -04:00
|
|
|
<html lang="{{ config('app.lang') }}"
|
|
|
|
dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
|
2022-07-23 13:29:04 -04:00
|
|
|
class="{{ setting()->getForCurrentUser('dark-mode-enabled') ? 'dark-mode ' : '' }}">
|
2015-07-12 15:01:42 -04:00
|
|
|
<head>
|
2016-08-14 07:29:35 -04:00
|
|
|
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>
|
2015-08-29 11:00:19 -04:00
|
|
|
|
2015-11-30 17:23:48 -05:00
|
|
|
<!-- Meta -->
|
2015-07-12 15:01:42 -04:00
|
|
|
<meta name="viewport" content="width=device-width">
|
2015-08-12 18:42:42 -04:00
|
|
|
<meta name="token" content="{{ csrf_token() }}">
|
2019-08-04 09:26:39 -04:00
|
|
|
<meta name="base-url" content="{{ url('/') }}">
|
2015-10-18 14:40:33 -04:00
|
|
|
<meta charset="utf-8">
|
2015-08-29 11:00:19 -04:00
|
|
|
|
2020-12-22 00:20:13 -05:00
|
|
|
<!-- Social Cards Meta -->
|
|
|
|
<meta property="og:title" content="{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}">
|
|
|
|
<meta property="og:url" content="{{ url()->current() }}">
|
|
|
|
@stack('social-meta')
|
|
|
|
|
2015-08-29 11:00:19 -04:00
|
|
|
<!-- Styles and Fonts -->
|
2018-03-17 09:03:13 -04:00
|
|
|
<link rel="stylesheet" href="{{ versioned_asset('dist/styles.css') }}">
|
|
|
|
<link rel="stylesheet" media="print" href="{{ versioned_asset('dist/print-styles.css') }}">
|
2015-08-29 11:00:19 -04:00
|
|
|
|
2015-07-12 16:31:15 -04:00
|
|
|
@yield('head')
|
2019-07-06 09:52:25 -04:00
|
|
|
|
|
|
|
<!-- Custom Styles & Head Content -->
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('common.custom-styles')
|
|
|
|
@include('common.custom-head')
|
2015-08-29 11:00:19 -04:00
|
|
|
|
2019-04-14 08:01:51 -04:00
|
|
|
@stack('head')
|
2019-07-06 09:52:25 -04:00
|
|
|
|
|
|
|
<!-- Translations for JS -->
|
|
|
|
@stack('translations')
|
2018-10-16 13:49:16 -04:00
|
|
|
</head>
|
2022-11-08 16:17:45 -05:00
|
|
|
<body
|
|
|
|
@if(setting()->getForCurrentUser('ui-shortcuts-enabled', false))
|
|
|
|
component="shortcuts"
|
|
|
|
option:shortcuts:key-map="{{ \BookStack\Settings\UserShortcutMap::fromUserPreferences()->toJson() }}"
|
|
|
|
@endif
|
|
|
|
class="@stack('body-class')">
|
2015-08-31 06:43:28 -04:00
|
|
|
|
2022-06-22 07:47:31 -04:00
|
|
|
@include('layouts.parts.base-body-start')
|
2021-08-22 08:15:58 -04:00
|
|
|
@include('common.skip-to-content')
|
|
|
|
@include('common.notifications')
|
2018-10-16 13:49:16 -04:00
|
|
|
@include('common.header')
|
2015-07-21 17:11:30 -04:00
|
|
|
|
2021-04-19 16:41:13 -04:00
|
|
|
<div id="content" components="@yield('content-components')" class="block">
|
2015-07-12 15:01:42 -04:00
|
|
|
@yield('content')
|
2019-08-25 10:44:51 -04:00
|
|
|
</div>
|
2015-07-12 15:01:42 -04:00
|
|
|
|
2020-03-18 23:28:06 -04:00
|
|
|
@include('common.footer')
|
|
|
|
|
2019-08-25 06:30:26 -04:00
|
|
|
<div back-to-top class="primary-background print-hidden">
|
2016-02-08 15:42:41 -05:00
|
|
|
<div class="inner">
|
2018-02-17 14:49:00 -05:00
|
|
|
@icon('chevron-up') <span>{{ trans('common.back_to_top') }}</span>
|
2016-02-08 15:42:41 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-10-16 13:49:16 -04:00
|
|
|
|
|
|
|
@yield('bottom')
|
2021-09-04 08:57:04 -04:00
|
|
|
<script src="{{ versioned_asset('dist/app.js') }}" nonce="{{ $cspNonce }}"></script>
|
2018-10-16 13:49:16 -04:00
|
|
|
@yield('scripts')
|
|
|
|
|
2022-06-22 07:47:31 -04:00
|
|
|
@include('layouts.parts.base-body-end')
|
2015-07-12 15:01:42 -04:00
|
|
|
</body>
|
|
|
|
</html>
|