@auth {{ $title ?? config('app.name', 'Pixelfed') }} @stack('meta') @if(request()->cookie('dark-mode')) @else @endif @stack('styles') @include('layouts.partial.nav')
@yield('content')
@include('layouts.partial.footer') @stack('scripts')
@endauth @guest {{ $title ?? config('app.name', 'Pixelfed') }} @stack('meta') @stack('styles') @include('layouts.partial.nav')
@yield('content')
@include('layouts.partial.footer') @stack('scripts') @endguest