@php $image = $post->imageUrl(); $author = 'EpoxyArt'; if ($post->author) { $author = trim($post->author->localizedName()) ?: 'EpoxyArt'; } $postUrl = __url('/blog/' . $post->id); $showExcerpt = $showExcerpt ?? false; $excerpt = ''; if ($showExcerpt) { $excerpt = trim(strip_tags(___($post, 'description') ?? '')); $excerpt = mb_strlen($excerpt) > 140 ? mb_substr($excerpt, 0, 140) . '...' : $excerpt; } @endphp
@if($image) {{ ___($post, 'title') }} @endif

{{ $post->created_at?->format('d/m/Y') }} @if($author) ยท {{ $author }} @endif

{{ ___($post, 'title') }}
@if($showExcerpt)

{{ $excerpt }}

{{ __('public.blog.read_more') }} @endif