@extends('public.layout') @section('title', $post->title.' — '.\App\Models\Setting::get('site.brand','Noesantara Law Firm')) @push('meta') @if($post->hero_image) @endif @endpush @push('meta') @php $articleSchema = [ '@context' => 'https://schema.org', '@type' => 'Article', 'headline' => $post->title, 'datePublished' => optional($post->published_at)->toIso8601String(), 'dateModified' => optional($post->updated_at)->toIso8601String(), 'image' => $post->hero_image ?: \App\Models\Setting::get('home.hero_image_url',''), 'author' => [ '@type' => 'Organization', 'name' => \App\Models\Setting::get('site.brand','Noesantara Law Firm') ], 'publisher' => [ '@type' => 'Organization', 'name' => \App\Models\Setting::get('site.brand','Noesantara Law Firm'), 'logo' => [ '@type' => 'ImageObject', 'url' => \App\Models\Setting::get('site.logo_url','') ] ], 'mainEntityOfPage' => [ '@type' => 'WebPage', '@id' => request()->fullUrl() ], 'description' => $post->excerpt, ]; $breadcrumbs = [ '@context' => 'https://schema.org', '@type' => 'BreadcrumbList', 'itemListElement' => [ [ '@type' => 'ListItem', 'position' => 1, 'name' => 'Home', 'item' => url('/') ], [ '@type' => 'ListItem', 'position' => 2, 'name' => 'Insights', 'item' => url('/insights') ], [ '@type' => 'ListItem', 'position' => 3, 'name' => $post->title, 'item' => request()->fullUrl() ], ], ]; @endphp @endpush @section('content')