@foreach($articles as $item)
@php
$t = $item->translations->first();
$itemTitle = $t?->article_translation_title ?? 'Untitled';
$excerpt = strip_tags($t?->article_translation_content ?? '');
$excerpt = \Illuminate\Support\Str::limit($excerpt, 150);
$itemCatLabel = $catLabels[$item->article_category] ?? $item->article_category;
$itemDate = $item->article_date ? \Carbon\Carbon::parse($item->article_date)->format('d M Y') : '';
@endphp
@endforeach
@else
No articles found
Check back later for updates.
@endif