mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-24 00:35:59 +00:00
Update blank layout, add sharedData js
This commit is contained in:
parent
2a3fd8771d
commit
4a293ed911
1 changed files with 3 additions and 3 deletions
|
@ -26,11 +26,11 @@
|
||||||
<link href="{{ mix('css/app.css') }}" rel="stylesheet" data-stylesheet="light">
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet" data-stylesheet="light">
|
||||||
@stack('styles')
|
@stack('styles')
|
||||||
|
|
||||||
<script type="text/javascript">window.App = {}; window.App.config = {!!App\Util\Site\Config::json()!!}</script>
|
<script type="text/javascript">window._sharedData = {curUser: {}, version: 0}; window.App = {config: {!!App\Util\Site\Config::json()!!}};</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class="">
|
<body class="w-100 h-100">
|
||||||
<main id="content">
|
<main id="content" class="w-100 h-100">
|
||||||
@yield('content')
|
@yield('content')
|
||||||
</main>
|
</main>
|
||||||
<script type="text/javascript" src="{{ mix('js/manifest.js') }}"></script>
|
<script type="text/javascript" src="{{ mix('js/manifest.js') }}"></script>
|
||||||
|
|
Loading…
Reference in a new issue