@php
$seo = $sections['seo'] ?? null;
// The inline `@section('title', $value)` form Blade compiles to
// e()-escapes $value automatically, so yieldContent() below returns
// already-HTML-escaped text — decode it back to plain text here so
// every {{ }} usage further down (title/og:title/twitter:title) only
// escapes once instead of double-encoding things like "&".
$rawTitleSection = trim($__env->yieldContent('title'));
$metaTitle = $rawTitleSection !== ''
? html_entity_decode($rawTitleSection, ENT_QUOTES)
: ($seo->title ?? 'Digital Sandi Informasi');
$metaDescription = $seo?->subtitle;
$metaImage = $seo?->imageUrl() ?? $theme?->logoUrl() ?? asset('dsi/img/dsi2.png');
$canonicalUrl = url()->current();
@endphp