@extends('frontend.layouts.app'.config('theme_layout')) @section('title', trans('labels.frontend.blog.title').' | '.app_name()) @push('after-styles') @endpush @section('content') @if(isset($category)){{$category->name}} @elseif(isset($tag)) {{$tag->name}} @endif @lang('labels.frontend.blog.title') @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).'...') !!} @lang('labels.general.read_more') @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).'...') !!} @lang('labels.general.read_more') @endforeach @endif {{ $blogs->links() }} @include('frontend.blogs.partials.sidebar') @endsection