@extends('backend::layouts.app') @section('content') Posts Add post @foreach($posts as $post) @endforeach
Id Thumbnail Name Category Created at Published Actions
{{ $post->id }}

{{ $post->name }}

@if($post->isPublished())

@foreach($post->categories as $category) slug}.show",['slug' => $post->slug]) }}" target="_blank">{{ $category->name }} @endforeach

@endif
@foreach($post->categories as $category) {{ $category->name }} @endforeach {{ app_date($post->created_at) }} Edit
@csrf @method('delete')
@endsection