@if(session('success'))
{{ session('success') }}
@endif
{{ $posts->total() }} item{{ $posts->total() === 1 ? '' : 's' }}
@forelse($posts as $post) @empty @endforelse
Title Author SEO Featured Image Date
{{ $post->title }}
Slug: {{ $post->slug }}
{{ \Illuminate\Support\Str::limit($post->excerpt ?: strip_tags($post->detail), 120) }}
Preview | Edit |
@csrf @method('DELETE')
{{ $post->author?->name ?: 'Admin User' }}
{{ $post->author?->email ?: 'System author' }}
{{ $post->seo_title ?: 'SEO title not set' }}
{{ \Illuminate\Support\Str::limit($post->seo_description ?: 'No SEO description added.', 90) }}
@if($post->seo_keywords)
{{ $post->seo_keywords }}
@endif
@if($post->featuredImage)
{{ $post->featuredImage->alt_text ?: $post->title }}
{{ $post->featuredImage->title ?: 'Selected image' }}
@else No image @endif
{{ ucfirst($post->status) }}
{{ $post->published_at ? $post->published_at->format('Y/m/d \\a\\t h:i a') : 'Not published' }}
Updated {{ $post->updated_at->diffForHumans() }}
No posts found for the current filter.
{{ $posts->firstItem() ?? 0 }}-{{ $posts->lastItem() ?? 0 }} of {{ $posts->total() }}
{{ $posts->links() }}