{{ $articles->total() }} article{{ $articles->total() === 1 ? '' : 's' }}

New article
@if ($articles->isEmpty())

No articles yet. Write the first one.

@else
@foreach ($articles as $article) @endforeach
Title Category Published Status Actions

{{ $article->title }}

{{ $article->author }}

{{ $article->category }} {{ optional($article->published_at)->format('d M Y') ?? '—' }} @if ($article->published) Published @else Draft @endif @if ($article->featured)Featured@endif
Edit
@csrf @method('DELETE')
@endif
{{ $articles->links() }}