@extends('admin.layouts.app')
@section('title', 'News & Stories')
@section('page-title', 'News & Stories')
@section('page-subtitle', 'Content management')
@section('content')
@forelse($articles as $article)
@if($article->featured_image)
 }})
@else
@endif
{{ $article->category }}
@if($article->is_featured)
Featured
@endif
{{ ucfirst($article->status) }}
{{ $article->title }}
{{ $article->excerpt }}
{{ $article->author->name }}
{{ $article->views }}
{{ $article->published_at ? $article->published_at->format('M d, Y') : 'Not published' }}
@empty
@endforelse
@if($articles->hasPages())
{{ $articles->links() }}
@endif
@endsection