@foreach($blogs as $blog) @if(!empty($blog->photo) && $blog->photo->file_path) @else @endif @endforeach @if(count($blogs) <=0) @endif
Image Title Category Tags Author Created At Action
Blog Image{{$blog->name}} {{$blog->getRelation('category')->name ?? ''}} {{$blog->tags}} {{$blog->creator->name ?? ''}} {{dateFormat($blog->created_at)}}
No data available
@if ($blogs->hasPages())
@if (!$blogs->onFirstpage()) @endif Page {{ number_format($blogs->currentPage()) }} of {{ number_format($blogs->lastPage()) }} @if (!$blogs->onLastpage()) @endif
@endif