mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-21 21:01:30 +08:00
Merge branch 'basic-pwa-support' into development
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta name="token" content="{{ csrf_token() }}">
|
||||
<meta name="base-url" content="{{ url('/') }}">
|
||||
<meta name="theme-color" content="{{ setting('app-color') }}"/>
|
||||
<meta name="theme-color" content="{{(setting()->getForCurrentUser('dark-mode-enabled') ? setting('app-color-dark') : setting('app-color'))}}"/>
|
||||
|
||||
<!-- Social Cards Meta -->
|
||||
<meta property="og:title" content="{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}">
|
||||
@ -29,6 +29,10 @@
|
||||
<link rel="icon" type="image/png" sizes="64x64" href="{{ setting('app-icon-64') ?: url('/icon-64.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ setting('app-icon-32') ?: url('/icon-32.png') }}">
|
||||
|
||||
<!-- PWA -->
|
||||
<link rel="manifest" href="{{ url('/manifest.json') }}" crossorigin="use-credentials">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
|
||||
@yield('head')
|
||||
|
||||
<!-- Custom Styles & Head Content -->
|
||||
|
Reference in New Issue
Block a user