@foreach ($posts as $post)
{{ $postTitle }} @php $desc = strip_tags($post['description'] ?? ''); @endphp
{{ substr($desc, 0, 500) }}{{ strlen($desc) > 500 ? '...' : '' }}
{{-- --}}{{ \Carbon\Carbon::parse($post['created_at'])->diffForHumans() }}
{{ $post['visits'] ?? 0 }}
{{ $post['city']['name'] ?? '-' }}