@php
$site = rtrim((string) \App\Models\Setting::get('site_url', config('app.url')), '/');
$host = parse_url($site, PHP_URL_HOST) ?: $site;
$crumbs = collect(explode('/', trim((string) $path, '/')))->filter()->implode(' › ');
@endphp
Так страница может выглядеть в поиске
{{ $host }} @if($crumbs)› {{ $crumbs }}@endif
{{ \Illuminate\Support\Str::limit($title ?: 'Без заголовка', 70) }}
{{ \Illuminate\Support\Str::limit($description ?: 'Описание не заполнено — поисковик подставит текст со страницы.', 165) }}
@if($robots && str_contains($robots, 'noindex'))
Страница закрыта от индексации (robots: {{ $robots }})
@endif