@extends('front.layouts.app') @section('content')
@foreach($blog->categories as $cat)
{!! $cat->category->name ?? "" !!}
@endforeach

{!! $blog->name !!}

{!! $blog->publish_at->format(config('constants.DISPLAY_DATE_FORMAT')) !!}

{!! $blog->short_description !!}

{!! $blog->description !!} @if($blog->is_author_show)

Categories

@foreach($blog->categories as $cat)
{!! $cat->category->name ?? "" !!}
@endforeach

Written By

@foreach($blog->authors as $author)
{!! $author->author->name !!}
{!! $author->author->name !!}
@endforeach
@endif
@if($relatedBlogs->count())
@endif @endsection