@props([ 'sTitle' => config('app.title').' - '.config('app.name'), 'sDesc' => config('app.desc'), 'sKeywords' => config('app.keywords'), 'sSlug' => '', 'sOgType' => 'website', 'sOgImg' => '/sites/'.config("app.site_code_short").'/siteimg.jpg', 'sRobots' => 'index, follow', 'bEditorialPreview' => false, 'seo' => [], 'pagination' => null, ]) @php $sTitle = $seo['title'] ?? $sTitle; $sDesc = \App\Services\Seo::text($seo['description'] ?? $sDesc); $sCanonical = $seo['canonical'] ?? \App\Services\Seo::url(request()->path()); $sRobots = $bEditorialPreview ? 'noindex, nofollow' : ($seo['robots'] ?? $sRobots); $sOgType = $seo['type'] ?? $sOgType; $sOgImg = str_starts_with($sOgImg ?? '', '/') ? \App\Services\Seo::url($sOgImg) : $sOgImg; @endphp
{{-- SEO 三杰 --}}