added string limit in text
parent
8904b625f6
commit
2987d84d3c
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue