@extends('admin.layout.main') @section('admin')

Blog Posts

Manage your blog posts and articles

New Post
@if(request()->hasAny(['search', 'category', 'status'])) @endif

All Blog Posts

{{ $posts->firstItem() ?? 0 }}-{{ $posts->lastItem() ?? 0 }} of {{ $posts->total() }}
@forelse($posts as $post) @empty @endforelse
Post Category Status Views Actions
@if($post->featured_image)
{{ $post->title }}
@else
@endif
{{ Str::limit($post->title, 60) }}
{{ $post->read_time }} min {{ $post->created_at->format('M d') }}
@if($post->category) {{ $post->category->name }} @else No category @endif
@if($post->is_featured) Featured @endif {{ $post->is_published ? 'Published' : 'Draft' }}
{{ number_format($post->views) }}

No blog posts found

Get started by creating your first blog post

Create First Post
@if($posts->hasPages())
Showing {{ $posts->firstItem() }} to {{ $posts->lastItem() }} of {{ $posts->total() }} results
{{ $posts->links() }}
@endif
@endsection