{{-- @if(!empty($featuredPost) || $posts->count())
@if(!empty($featuredPost))
{!! getMediaImg($featuredPost->media, '800x800', htmlspecialchars($featuredPost->title)) !!}

{{ $featuredPost->title }}

@foreach($featuredPost->authors as $author) {{ $author->title }} @endforeach
@endif @foreach($posts as $post)
{!! getMediaImg($post->media, '800x800', htmlspecialchars($post->title)) !!}
{{ date("d F Y", strtotime($post->date)) }}

{{ $post->title }}

@foreach($post->authors as $i => $author) {{ $author->title . ($i + 1 < $post->authors->count() ? ', ' : '') }} @endforeach

{{ strip_tags($post->excerpt) }}

@endforeach
@endif --}} @if($posts->count())
@foreach($posts as $post) @include('frontend.templates.components.posts-card', [ 'title' => $post->title, 'image' => getMediaImg($post->media, '800x800', htmlspecialchars($post->title)), 'link' => lang_url($post->lang_uri), 'date' => format_date($post->date) ]) @endforeach
@endif