@extends('layouts.main-app') @section('title', 'Blogs') @section('content') @include('layouts.navbar')
@include('layouts.blogs_filter')
@foreach ($allblogs->sortByDesc('created_at') as $blog)

{{ $blog->created_at->format('F d, Y') }}

{{$blog->title}}

@endforeach
@if ($allblogs->onFirstPage()) @else @endif
@foreach ($allblogs->getUrlRange(1, $allblogs->lastPage()) as $page => $url) @endforeach
@if ($allblogs->hasMorePages()) @else @endif
@include('layouts.footer') @endsection