added string limit in text

master
Gustavo Luigi 2023-07-06 18:56:17 -03:00
parent 8904b625f6
commit 2987d84d3c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@
<div class="card-body">
<h2 class="h5">{{$content->title}}</h2>
<span class="text-muted mb-3">{{date("d.m.Y", strtotime($content->created_at))}}</span>
<p class="card-text">{!! $content->nachricht!!}</p>
<p class="card-text">{!! Str::limit($content->nachricht, 100) !!}</p>
<div class="text-end">
<a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
</div>