Update (list): Fix crash on list output

This commit is contained in:
2023-08-15 19:30:09 +08:00
parent ae11f4556e
commit b6ba3d2957
6 changed files with 34 additions and 18 deletions

View File

@@ -30,7 +30,7 @@ class="text-decoration-none">{{ $post->title }}</a>
</div>
@else
<div class="mb-3">
<small class="text-secondary">{{ $post->excerpt }}</small>
<small class="text-secondary">{{ str_first_sentence($post->excerpt) }}</small>
</div>
@endif