@foreach($blogs->take(3) as $item)
@if($item->created_at == !NULL)
{{ date('jS F Y', strtotime($item->created_at)) }}
@endif
@if($item->slug != NULL)
@else
@endif
{{substr(preg_replace("/\r\n|\r|\n/",'',strip_tags(html_entity_decode($item->detail))), 0, 400)}}
@if($item->slug != NULL)
@else
@endif
@endforeach