@yield('script') @if (Route::current()->getName() != 'popover') @endif {{-- --}} {{-- @if (Route::current()->getName() == 'index') @endif --}} @if (Route::currentRouteName() == 'index') @endif