Add (auto indexing): when set to publish

This commit is contained in:
2023-09-10 21:48:39 +08:00
parent ef58f62e57
commit 645d0f1d02
4 changed files with 43 additions and 26 deletions

View File

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