feat: implement structured data support for blog and page components, enhancing SEO and user experience through JSON-LD integration

This commit is contained in:
Ümit Tunç
2026-05-21 21:54:12 +03:00
parent 8675325f50
commit 6d9ffc808b
15 changed files with 509 additions and 176 deletions
+3
View File
@@ -51,6 +51,9 @@ $favicon_path = setting('site_favicon');
<meta name="twitter:image:alt" content="{{ $meta['image_alt'] ?? $seo_title }}">
@endif
@if(!empty($structuredData))
<x-seo.json-ld :data="$structuredData" />
@endif
@stack('structured-data')
<link rel="icon" href="{{ $favicon_path ? (str_starts_with($favicon_path, 'http') ? $favicon_path : asset($favicon_path)) : asset('assets/img/favicon.png') }}">