Refine SEO, uploads, and deploy handling
This commit is contained in:
@@ -6,7 +6,21 @@
|
||||
$deferFontAwesome = request()->routeIs('index');
|
||||
$deferWebManifest = request()->routeIs('index');
|
||||
$isInertiaPage = isset($page) && is_array($page);
|
||||
$shouldRenderBladeSeo = ($useUnifiedSeo ?? false) && (($renderBladeSeo ?? false) || ! $isInertiaPage);
|
||||
$isAuthSeoRoute = request()->routeIs([
|
||||
'login',
|
||||
'register',
|
||||
'register.notice',
|
||||
'password.request',
|
||||
'password.reset',
|
||||
'password.confirm',
|
||||
'verification.notice',
|
||||
'registration.verify',
|
||||
'setup.email.create',
|
||||
'setup.password.create',
|
||||
'setup.username.create',
|
||||
]);
|
||||
$page_robots = $page_robots ?? ($isAuthSeoRoute ? 'noindex,nofollow' : null);
|
||||
$shouldRenderBladeSeo = ($useUnifiedSeo ?? ! $isInertiaPage) && (($renderBladeSeo ?? true) || ! $isInertiaPage);
|
||||
$novaCssEntries = [
|
||||
'resources/css/app.css',
|
||||
'resources/css/nova-grid.css',
|
||||
|
||||
Reference in New Issue
Block a user