@if (Session::has('success'))
{{session('success')}}
@endif
@if (Session::has('failure'))
{{session('failure')}}
@endif
@if (count($posts) > 0)
@foreach ($posts as $post)
Title: {{$post->title}}
Description: {{$post->short_description}}
Posted by
{{$post->user->name}}
{{--
--}}
{{-- --}}
{{-- --}}
@endforeach
@else
There are no blog posts right now...
@endif
{{$posts->links('pagination::bootstrap-5')}}