@extends('admin.layouts.master') @section('title') Post Details @endsection @section('content')

{{ $post->description }}

@if($post->images->count() > 0)
@foreach($post->images as $image) Post image @endforeach
@endif
👍

Like
{{ $likesCount }}

👎

Dislike
0

@if($post->comments->count() > 0)

Comments ({{ $commentsCount }})

@foreach($post->comments as $comment)
{{ $comment->user->name }}
{{ $comment->content }}
{{ $comment->created_at }}
@foreach($comment->replies as $reply)
{{ $reply->user->name }}
{{ $reply->content }}
{{ $reply->created_at }}
@endforeach
@endforeach
@endif
@endsection