@extends('admin.layout', ['menuKey' => 'blog']) @section('title', 'Blog posts') @section('content')
Admin

Blog posts

New post
@forelse ($posts as $p) @empty @endforelse
PostCategoryStatusPublish timeComments waiting
{{ $p->blog_title }}
/blog/{{ $p->slug }}
{{ $p->category?->blog_category_name ?? '–' }} @if ((int) $p->status !== 1)Hidden @elseif ($p->isScheduled())Scheduled @elsePublished@endif {{ $p->created_at?->format('M j, Y g:i A') }} {{ $p->pending_comments_count ?: '' }} @if ($p->isPublished())View@endif
@csrf
No posts found.
{{ $posts->links('pagination::simple-default') }} @endsection