Update (ui)
This commit is contained in:
@@ -39,7 +39,14 @@ class="font-family-roboto-condensed mb-1 pb-1 d-inline badge bg-danger border-da
|
||||
<i class="bi bi-dot"></i>
|
||||
@endif
|
||||
|
||||
<span class="d-inline text-secondary small">{{ $post->published_at->format('d M') }}</span>
|
||||
<span class="d-inline text-secondary small">
|
||||
@if($post->published_at->isBetween(now()->subDays(1), now()))
|
||||
{{ $post->published_at->diffForHumans() }}
|
||||
@else
|
||||
{{ $post->published_at->format('d M') }}
|
||||
@endif
|
||||
|
||||
</span>
|
||||
<i class="bi bi-dot"></i>
|
||||
<span class="d-inline text-secondary small">{{ min_read($post->bites) }}</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user