1
0
Fork 1
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:
Daniel Supernault 2020-04-10 21:28:51 -06:00
parent 2a3fd8771d
commit 4a293ed911
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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>