@extends('layouts.admin_layout') @section('content')

List of all Blog Posts

Go to main website
View →

List of Blog Posts


@forelse($blogs as $blog) @empty

No Blog Posts!




@endforelse
Blog Title Author Creation Date Actions
{{ $blog->author_name }} {{ date('M j Y', strtotime($blog->created_at)) }}
@csrf
@if($blogs->currentPage() != 1) «  @for($i=1; $i<=$blogs->lastPage(); $i++) @if($i== $blogs->currentPage()) {{ $i }}  @else {{ $i }}  @endif @endfor @if($blogs->currentPage() != $blogs->lastPage()) » @endif @else 1 » @endif
Showing {{ $blogs->firstItem() }}–{{ $blogs->lastItem() }} of {{ $blogs->total() }} results
@endsection