{{-- Server-rendered SEO / OpenGraph / Twitter meta (App\Support\Seo).
Controllers attach a Seo object via ->withViewData(['seo' => ...]); pages
that declare none render fail-closed as noindex. Vue owns the
(see
resources/js/utils/pageTitle.js); a landing design that writes its own
in wins over the default here
($pageOwnsDescription, set by app.blade.php from the SSR head) so a page
never ships two. Vue must never emit the og:/twitter: tags. --}}
@php($meta = ($seo ?? \App\Support\Seo::private())->toArray())
@unless ($pageOwnsDescription ?? false)
@endunless
@if ($meta['canonical'])
@endif
@foreach ($meta['alternates'] as $hreflang => $href)
@endforeach
@if ($meta['canonical'])
@endif
@if ($meta['twitter_site'])
@endif
@foreach ($meta['json_ld'] as $schema)
@endforeach