{{-- Blog post — uses ContentLayout. --}} @extends('layouts.nova.content-layout') @php $hero_title = $post->title; $seo = \App\Support\Seo\SeoDataBuilder::fromArray( app(\App\Support\Seo\SeoFactory::class)->fromViewData(get_defined_vars()) ) ->og( type: 'article', title: $post->meta_title ?: $post->title, description: $post->meta_description ?: $post->excerpt ?: '', url: $post->url, image: $post->featured_image, ) ->addJsonLd([ '@context' => 'https://schema.org', '@type' => 'Article', 'headline' => $post->title, 'datePublished' => $post->published_at?->toIso8601String(), 'dateModified' => $post->updated_at?->toIso8601String(), 'author' => [ '@type' => 'Organization', 'name' => 'Skinbase', ], 'publisher' => [ '@type' => 'Organization', 'name' => 'Skinbase', ], 'description' => $post->meta_description ?: $post->excerpt ?: '', 'mainEntityOfPage' => $post->url, 'image' => $post->featured_image, ]) ->build(); @endphp @section('page-content')
@if($post->featured_image)
{{ $post->title }}
@endif @if($post->published_at) @endif
{!! $post->body !!}
Back to Blog
@endsection