@foreach($article->categories as $article_category)
@if($loop->index<5)
{{$article_category->title}}
@endif
@endforeach
{{$article->title}}
- {{\Carbon::parse($article->created_at)->diffForHumans()}}
- {{$article->user->name}}
@if($article->comments_count!=0)
@endif
@if($article->views!=0)
@endif
{!!$article->description!!}
@if(count($article->tags))
@foreach($article->tags as $article_tag)
@if($loop->index<5)
#{{$article_tag->tag_name}}
@endif
@endforeach
@endif
{{--
--}}
@if($article->comments_count)
@endif
شاركنا رأيك
بريدك الالكتروني لن يتم نشره.
{{$article->comments_count}} التعليقات
@foreach($article->comments as $comment)-
:$comment->user->getUserAvatar()}})
- {{\Carbon::parse($comment->created_at)->diffForHumans()}}
@endforeach
{{$comment->user==null?$comment->adder_name:$comment->user->name}}
{{$comment->content}}