@extends("layouts.public") @section("title",$post->name) @section("image",asset($post->thumbnail)) @section("keywords"," material, questions, answers, make-it.co") @section("description",preg_replace('#<[^>]+>#', ' ', $post->description )) @section("author",$post->admin->name ?? "make-it.co") @section("css") @endsection @section("content")

{{preg_replace('#<[^>]+>#', ' ', $post->name )}}

{{-- --}}

{!! \Carbon\Carbon::parse($post->created_at)->format("j M Y") !!} in {{$post->category->name}}

{!! $post->content !!}
{{--
@foreach($post->comments as $comment)

{{$comment->user->name}}

{{\Carbon\Carbon::parse($comment->created_at)->diffForHumans()}}

Reply

{!! $comment->content !!}

@foreach($comment->comments as $com)

{{$com->user->name}}

{{\Carbon\Carbon::parse($com->created_at)->diffForHumans()}}

Reply

{!! $com->content !!}

@endforeach @endforeach

Leave a Comment

@guest

Please login to comment on this post Login here

@else
@csrf

@endguest
--}} {{--
--}}
{{--

{{__("Recent Articles")}}

@foreach(\App\Post::take(6)->orderBy("id","DESC")->get() as $pst)

{!! \Carbon\Carbon::parse($pst->created_at)->format("j M Y") !!} in {{$pst->category->name}}

@endforeach
--}}{{-- --}}{{--
--}}
@endsection