<!--Post Comments Start-->
<div class="post-comments">
    <h3 class="stitle">Comments</h3>
    <ul class="comments">
        @forelse($comments as $comment)
            <li class="comment">
                <div class="user-thumb"><img src="{{asset('assets/images/author.jpg')}}" alt=""></div>
                <div class="user-comments">
                    <h6 class="aname">{{$comment->author()}}</h6>
                    @if(config("binshopsblog.comments.ask_for_author_website") && $comment->author_website)
                        (<a href='{{$comment->author_website}}' target='_blank' rel='noopener'>website</a>)
                    @endif
                    <ul class="post-time">
                        <li title='{{$comment->created_at}}'>{{$comment->created_at->diffForHumans()}}s</li>
                        <li><a href="#"><i class="fas fa-reply"></i> reply</a></li>
                    </ul>
                    <p>{!! nl2br(e($comment->comment))!!}</p>
                </div>
            </li>s

        @empty
            <div class='alert alert-info'>No comments yet! Why don't you be the first?</div>
        @endforelse

    </ul>
</div>
<!--Post Comments End-->

@if(count($comments)> config("binshopsblog.comments.max_num_of_comments_to_show",500) - 1)
    <p><em>Only the first {{config("binshopsblog.comments.max_num_of_comments_to_show",500)}} comments are
            shown.</em>
    </p>
@endif

