@extends('frontend.layouts.app'.config('theme_layout')) @section('title', trans('labels.frontend.blog.title').' | '.app_name()) @push('after-styles') @endpush @section('content')
@if(count($blogs) > 0)
@foreach($blogs as $item)
image != "") style="background-image: url({{asset('storage/uploads/'.$item->image)}})" @endif>
{{$item->created_at->format('d M Y')}}

{{$item->title}}

{!! strip_tags(mb_substr($item->content,0,100).'...') !!}
@endforeach
@foreach($blogs as $item)
image != "") style="background-image: url({{asset('storage/uploads/'.$item->image)}})" @endif>
{{$item->created_at->format('d M Y')}}

{{$item->title}}

{!! strip_tags(mb_substr($item->content,0,100).'...') !!}
@endforeach
@endif
{{ $blogs->links() }}
@include('frontend.blogs.partials.sidebar')
@endsection