We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8007c commit 6970cbcCopy full SHA for 6970cbc
resources/views/post/list.blade.php
@@ -82,7 +82,9 @@ class="position-absolute start-0 end-0 top-0 bottom-0 z-2"></a>
82
<a class="d-flex align-items-center text-body-secondary text-decoration-none me-4"
83
href="{{ route('post.show', $post) }}">
84
<x-icon path="i.comment"/>
85
- <span class="ms-2">{{ $post->comments_count }}</span>
+ @if($post->comments_count > 0)
86
+ <span class="ms-2">{{ $post->comments_count }}</span>
87
+ @endif
88
</a>
89
90
<time
0 commit comments