@foreach ($blogs as $blog)
{{-- Business --}}
@php $description = $blog->description; $wordCount = str_word_count(strip_tags($description)); @endphp

{{ $blog->title }}

@if ($wordCount > 35)

{!! str_replace(' ', ' ', \Illuminate\Support\Str::words(strip_tags($description), 35, '...')) !!}

@else

{!! str_replace(' ', ' ', $description) !!}

@endif
{{ $blog->created_at->format('F d, Y') }} | {{ $blog->created_at->diffForHumans() }}
{{--
Author Emily Parker
March 28, 2023
--}}
@endforeach
{{ $blogs->links() }}