@@ -5,7 +5,7 @@
|
||||
$supportedLocales = (array) config('app.supported_locales', []);
|
||||
$currentLocale = app()->getLocale();
|
||||
$currentLocaleData = $supportedLocales[$currentLocale] ?? $supportedLocales[config('app.locale', 'ru')] ?? [];
|
||||
$siteName = config('seo.site_name', config('app.name', 'PC Shop'));
|
||||
$siteName = config('seo.site_name', config('app.name', 'Tehnobox'));
|
||||
$metaTitleRaw = trim($__env->yieldContent('meta_title'));
|
||||
$metaTitle = $metaTitleRaw !== '' ? "{$metaTitleRaw} - {$siteName}" : __(config('seo.default_title', $siteName));
|
||||
$metaDescription = trim($__env->yieldContent('meta_description')) ?: __(config('seo.default_description'));
|
||||
|
||||
Reference in New Issue
Block a user