@extends('layouts.admin') @section('title', $Title ) @section('content')
@if($message = Session::get('errormsg')) @endif @if($message = Session::get('msg')) @endif
@php $number = ($BlogList->currentPage() - 1) * $BlogList->perPage() + 1; @endphp @forelse($BlogList as $list) @php $number++; @endphp @empty @endforelse
# Title Category Image Short Description Description Created At Action
{{ $number }} {{ $list->title }} {{ $list->category->name ?? '' }} @if(!empty($list->image)) @else @endif {{ Str::limit(strip_tags($list->short_description), 30) }} {!! Str::limit(strip_tags($list->description), 30) !!} {{ optional($list->created_at)->format('M d, Y') }}
@csrf @method('DELETE')
No Data Found
@if($BlogList->total()) Showing {{ $BlogList->firstItem() }} to {{ $BlogList->lastItem() }} of total {{ $BlogList->total() }} entries @endif
{{ $BlogList->links() }}
@endsection