@forelse($blogs as $blog) @empty @endforelse
Image Title Published Status Action
@if(!empty($blog->image)) @else — @endif {{ $blog->title }} {{ $blog->published_at ? \Illuminate\Support\Carbon::parse($blog->published_at)->format('d M Y') : '—' }} {{ $blog->status ? 'Deactivate' : 'Activate' }} Edit
No blogs found.
@if($blogs->total() > 0) Showing {{ $blogs->firstItem() }} to {{ $blogs->lastItem() }} of {{ $blogs->total() }} entries @else Showing 0 entries @endif
{{ $blogs->links('pagination::bootstrap-4') }}