@extends('admin.layout') @section('title', 'Blog Articles') @section('content')

Blog Articles

Manage blog posts and AI-generated articles

New Article
{{-- Filters --}}
@if(request()->hasAny(['search', 'source'])) Clear @endif
@forelse($posts as $post) @empty @endforelse
Article Category Source Status Published Actions
@if($post->image) @else
@endif

{{ $post->getTranslation('title', 'en') }}

{{ $post->getTranslation('title', 'ar') }}

{{ $post->category?->getTranslation('name', 'en') ?? '-' }} @if($post->source === 'ai_agent') AI @else Manual @endif @if($post->is_active) Active @else Draft @endif @if($post->is_featured) Featured @endif {{ $post->published_at?->format('M d, Y') ?? 'Not published' }}
@csrf @method('DELETE')

No articles yet. Create one or let the AI agent generate some.

@if($posts->hasPages())
{{ $posts->links() }}
@endif
@endsection ob_start();