feat: implement structured data support for blog and page components, enhancing SEO and user experience through JSON-LD integration
This commit is contained in:
@@ -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') }}">
|
||||
|
||||
Reference in New Issue
Block a user