{{ $post->title }}
{{ $post->short_description }}
{!! $post->description !!}
@extends('frontend.layouts.app') @section('description'){{ strip_tags($post->description) }}@endsection @section('og:image'){{ asset($post->image) }}@endsection @section('title'){{ $post->title }}@endsection @section('main')
{{ __('write_a_comment') }}
@forelse ($post->comments as $comment)-
{{ $comment->user->name }}
{{ $comment->created_at->diffForHumans() }}
{!! nl2br($comment->body) !!}
@if (count($comment->replies) > 0)
@foreach ($comment->replies as $reply)
-
{{ $reply->user->name }}
{{ $reply->created_at->diffForHumans() }}
{!! nl2br($reply->body) !!}
@endforeach
@endif
@empty
{{ __('no_comments') }}
@endforelse