@props([ 'post', 'board', 'variant' => 'tenant', 'href' => null, 'showImage' => true, 'excerptLimit' => 80, ]) @php $href = $href ?? (method_exists($post, 'resolvePostUrl') ? $post->resolvePostUrl() : ''); $thumbnailUrl = $showImage ? (method_exists($post, 'thumbnailUrl') ? $post->thumbnailUrl() : ($post->thumbnail_url ?? null)) : null; $tenantName = data_get($post, 'tenant.name') ?: ($post->tenant_key ?? null); $description = trim((string) ($post->meta_description ?? '')); @endphp
{{ $post->title }}
@if ($description !== '')

{{ $description }}

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