@include('partials.head')
@include('cookie-consent::index')
@include('partials.alerts')
@hasSection('main')
@hasSection('sidebar')
@else
@yield('main')
@endif
@else
@yield('content')
@endif
@include('partials.footer')
@vite('resources/js/app.js')
@if (config('other.freeleech') == true || config('other.invite-only') == false || config('other.doubleup') == true)
@endif
@foreach (['warning', 'success', 'info'] as $key)
@if (Session::has($key))
@endif
@endforeach
@if (Session::has('errors'))
@endif
@yield('javascripts')
@yield('scripts')
@livewireScriptConfig(['nonce' => HDVinnie\SecureHeaders\SecureHeaders::nonce()])