@php $prefix = apply_filters(FILTER_SLUG_PREFIX, $prefix); $value = $value ?: old('slug'); $endingURL = config('core.base.general.public_single_ending_url'); $previewURL = str_replace('--slug--', $value, url($prefix) . '/' . config('packages.slug.general.pattern')) . $endingURL . (Auth::user() && $preview ? '?preview=true' : ''); $strPlug = $value; @endphp
has($name)) class="hidden" @endif> @if (in_array(Route::currentRouteName(), ['pages.create', 'pages.edit']) && BaseHelper::isHomepage(Route::current()->parameter('page'))) @else