@extends('frontend.layouts.app') @section('content')
@php $flag = 1; @endphp
@forelse($blogs as $blog)
{{$blog->image}}
{{get_date_time($blog->created_at, 'd')}}
{{get_date_time($blog->created_at, 'M')}}

{{($blog->post)}}

{{limit_words(strip_tags(@$blog->body), 100)}}

{{translate("CONTINUE READING")}}
@empty
@include("frontend.partials.empty",['message' => 'No Data Found'])
@endforelse
{{$blogs->withQueryString()->links()}}

{{translate("Blog Categories")}}

{{translate('RECENT POSTS')}}

@forelse($recentPosts as $recentPost)
{{$recentPost->post}}

{{get_date_time($recentPost->created_at, 'M d Y')}}

@empty
@include("frontend.partials.empty",['message' => 'No Data Found'])
@endforelse
@endsection