@php use App\Support\Seo; $seoLocale = current_locale(); $rawTitle = trim($__env->yieldContent('title')); $rawDesc = trim($__env->yieldContent('meta_description')); $rawKeywords = trim($__env->yieldContent('meta_keywords')); $rawImage = trim($__env->yieldContent('og_image')); $rawCanonical = trim($__env->yieldContent('canonical')); $rawRobots = trim($__env->yieldContent('robots')); $rawType = trim($__env->yieldContent('og_type')); $seoTitle = Seo::title($rawTitle !== '' ? $rawTitle : null, $seoLocale); $seoDescription = Seo::description($rawDesc !== '' ? $rawDesc : null, null, $seoLocale); $seoKeywords = Seo::keywords($rawKeywords !== '' ? $rawKeywords : null, $seoLocale); $seoImage = Seo::image($rawImage !== '' ? $rawImage : null); $seoCanonical = Seo::canonical($rawCanonical !== '' ? $rawCanonical : null); $seoRobots = $rawRobots !== '' ? $rawRobots : 'index, follow'; $seoType = $rawType !== '' ? $rawType : 'website'; $seoAlternates = Seo::alternates(); $seoSiteName = config('seo.site_name', 'Kenncoat'); @endphp {{ $seoTitle }} @if($seoKeywords !== '') @endif @foreach($seoAlternates as $hreflang => $href) @endforeach @foreach($seoAlternates as $hreflang => $href) @if($hreflang !== $seoLocale) @endif @endforeach @hasSection('json_ld') @endif