@foreach ($posts as $post)
@if(is_video_post($post)) @endif @if(is_external_link($post)) @endif
@php $category = $post->categories->first(); @endphp @if ($category)
{{ $category->name }}
@endif

{{ $post->name }}

{{ $post->created_at->format(post_date_format(false)) }} {{ number_format($post->views) }} {{ __('views') }}
@endforeach