@extends('admin.layouts.home') @section('title', $blog->title) @section('content')

{{ $blog->title }}

{{ __('Edit') }} {{ __('Back to Blogs') }}
{{ __('Blog Content') }}
{{ $blog->active ? __('Published') : __('Draft') }}
@if($blog->thumbnail)
{{ $blog->title }}
@endif
Description

{{ $blog->description }}

Content
{!! $blog->content !!}
Blog Details
Author

{{ $blog->user->name ?? 'Unknown' }}

Category
{{ $blog->category ? $blog->category->name : 'Uncategorized' }}
Type

{{ $blog->type ?? 'blog' }}

Featured
@if($blog->is_featured) Yes @else No @endif
Hits

{{ $blog->hits ?? 0 }}

@if($blog->published_at)
Published At

{{ $blog->published_at->format('M d, Y H:i') }}

@endif
Created

{{ $blog->created_at->format('M d, Y H:i') }}

Last Updated

{{ $blog->updated_at->format('M d, Y H:i') }}

Slug

{{ $blog->slug }}

@if($blog->meta_title || $blog->meta_description || $blog->meta_keywords)
SEO Information
@if($blog->meta_title)
Meta Title:

{{ $blog->meta_title }}

@endif @if($blog->meta_description)
Meta Description:

{{ $blog->meta_description }}

@endif @if($blog->meta_keywords)
Meta Keywords:

{{ $blog->meta_keywords }}

@endif
@endif
@csrf @method('DELETE')
@endsection