@php $loc = app()->getLocale(); $rn = \Illuminate\Support\Str::after(request()->route()?->getName() ?? 'en.home', '.'); $rp = request()->route()?->parameters() ?? []; $title = trim($__env->yieldContent('title')) ?: config('sar.name').' 2027 | '.__('Racing 4 better conservation'); $desc = trim($__env->yieldContent('description')) ?: __('meta.home'); $og = trim($__env->yieldContent('image')) ?: asset('images/og-image.jpg'); $robots = trim($__env->yieldContent('robots')) ?: 'index,follow,max-image-preview:large'; $langTags = ['en' => 'en', 'sw' => 'sw-TZ', 'zh' => 'zh-Hans']; $ogLocale = ['en' => 'en_US', 'sw' => 'sw_TZ', 'zh' => 'zh_CN'][$loc]; @endphp {{ $title }} @if (! str_contains($robots, 'noindex') && ! empty($rn) && \Illuminate\Support\Facades\Route::has('en.'.$rn)) @foreach (config('sar.locales') as $l)@endforeach @endif @if ($t = setting('google_verify'))@endif @if ($t = setting('bing_verify'))@endif @if ($t = setting('baidu_verify'))@endif @stack('jsonld') @include('partials.header')
@yield('content')
@include('partials.footer') @include('partials.girl') @if ($t = setting('ga_id'))@endif @stack('scripts')