@php $title = $title ?? $post->title ?? ''; $content = $content ?? $post->content ?? ''; $meta_title = $meta_title ?? $seo->meta_title ?? $title; $meta_description = $meta_description ?? $seo->meta_description ?? ($post->excerpt ?? ''); $canonical_url = $canonical_url ?? $seo->canonical_url ?? null; $is_indexable = $is_indexable ?? $post->is_indexable ?? true; $og_title = $og_title ?? $seo->og_title ?? $meta_title; $og_description = $og_description ?? $seo->og_description ?? $meta_description; $og_image = $og_image ?? $seo->og_image ?? $post->featured_image ?? null; $schema_json = $schema_json ?? $seo->schema_json ?? null; $featured_image = $featured_image ?? $post->featured_image ?? null; $excerpt = $excerpt ?? $post->excerpt ?? ''; $author_name = $author_name ?? $post->author->name ?? null; $published_at = $published_at ?? $post->published_at?->format('d/m/Y') ?? null; $category_name = $category_name ?? $post->category->name ?? null; $tags = $tags ?? ($post->tags ?? collect())->pluck('name')->all(); @endphp {{ $meta_title }} @if (!empty($meta_description)) @endif @if (!empty($canonical_url)) @endif @if (!$is_indexable) @endif @if (!empty($og_title)) @endif @if (!empty($og_description)) @endif @if (!empty($og_image)) @endif @if (!empty($schema_json)) @endif
@if (!empty($featured_image)) {{ $title }} @endif

{{ $title }}

@if (!empty($author_name)) Por {{ $author_name }} @endif @if (!empty($published_at)) · {{ $published_at }} @endif @if (!empty($category_name)) · {{ $category_name }} @endif
@if (!empty($excerpt))

{{ $excerpt }}

@endif
{!! $content !!}
@if (!empty($tags) && count($tags)) @endif