{{-- Cannot use $theme_url here: if a theme uses the base layout, it would also have to provide all these dependencies! --}} {{-- As these files are shipped with core (not a theme) use the main app.version instead of the current theme's version --}} @if (App::environment() == 'production') @else @endif @if (Theme::hasStylesheet()) @endif @stack('styles') @include(Theme::viewName('partials.navbar')) {{-- Render breadcrumb within a container if present in the sub-view --}} @if (View::hasSection('breadcrumb'))
@endif @if (isset($error))
@endif @if (isset($warning))
@endif @if (isset($success))
@endif @if (isset($info))
@endif @yield('content') @can('photo.quick_upload') @include(Theme::viewName('partials.quick_upload')) @endcan @if (isset($is_admin) && $is_admin) @include(\App\Facade\Theme::viewName('partials.copyright_admin')) @elseif (!\App\Facade\UserConfig::get('remove_copyright')) @include(\App\Facade\Theme::viewName('partials.copyright_gallery')) @endif {{-- Cannot use $theme_url here: if a theme uses the base layout, it would also have to provide all these dependencies! --}} {{-- As these files are shipped with core (not a theme) use the main app.version instead of the current theme's version --}} @if (App::environment() == 'production') @else @endif @stack('scripts') {!! \App\Facade\UserConfig::get('analytics_code') !!}