@extends('admin.layouts.app') @section('title', 'Blog Posts') @section('crumbs')BlogPosts@endsection @section('content')

{{ $posts->total() }} posts

πŸ“š Categories οΌ‹ New post
@forelse ($posts as $p) @empty @endforelse
PostCategoryProductsPublishedStatusActions
@if ($p->cover)@else{{ $p->icon ?: 'πŸ“' }}@endif
{{ $p->title }}
by {{ $p->author }}
{{ $p->category?->name ?? 'β€”' }} {{ $p->products_count }} {{ $p->published_at?->format('d M Y') ?? 'β€”' }} @if (! $p->is_published) Draft @elseif ($p->published_at && $p->published_at->isFuture()) Scheduled @else Published @endif
Edit
@csrf @method('DELETE')
No posts found.
{{ $posts->links('admin.partials.pagination') }}
@endsection