2
Some checks are pending
Deploy / deploy (push) Waiting to run

This commit is contained in:
ssww23
2026-03-17 02:13:35 +03:00
parent 0ee9f05416
commit f2f4e2cdd7
12 changed files with 45 additions and 41 deletions

View File

@@ -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'));