@extends('admin.layouts.app') @section('title', 'Preview Blog Post') @section('content')

Preview Blog Post

{{ $blog->title }}

@if($blog->published_at) Published on {{ $blog->published_at->format('F d, Y') }} @else Created on {{ $blog->created_at->format('F d, Y') }} @endif
@if($blog->status === 'published') Published @else Draft @endif
{!! $blog->content !!}
Post Information
Status:
@if($blog->status === 'published') Published @else Draft @endif
Slug:
{{ $blog->slug }}
Created:
{{ $blog->created_at->format('M d, Y H:i') }}
Updated:
{{ $blog->updated_at->format('M d, Y H:i') }}
@if($blog->published_at)
Published:
{{ $blog->published_at->format('M d, Y H:i') }}
@endif
@if($blog->meta_description || $blog->meta_keywords)
SEO Information
@if($blog->meta_description)
Meta Description:

{{ $blog->meta_description }}

@endif @if($blog->meta_keywords)
Meta Keywords:
@foreach(explode(',', $blog->meta_keywords) as $keyword) {{ trim($keyword) }} @endforeach
@endif
@endif
Quick Actions
Edit Post @if($blog->status === 'published') View Live @endif
@csrf @method('DELETE')
@endsection @push('styles') @endpush