@props([ 'posts' => collect(), ]) @php $posts = collect($posts); @endphp @if ($posts->isNotEmpty())
@foreach ($posts as $post) @php $tenantName = $post->tenant?->name ?: $post->tenant_key; @endphp
{{ $post->title }}
@if ($post->meta_description)

{{ $post->meta_description }}

@endif
@if ($post->thumbnail_url) @else
{{ $tenantName }}
{{ $post->title }}
@endif
@endforeach
@endif