@extends('layout.app') @section('content')

Blog articles

@forelse($posts as $post) @empty @endforelse
TitleCategoryPublishedStatus
{{ $post->title }} {{ $post->category }} {{ $post->published_at?->format('Y-m-d') }} @if($post->is_published && $post->published_at && $post->published_at->isFuture()) Scheduled @elseif($post->is_published) Published @else Draft @endif Edit @if($post->is_published)View@endif
@csrf
No articles yet.
@stop