added content date

master
Gustavo Luigi 2023-07-06 19:10:49 -03:00
parent 2987d84d3c
commit db778a962c
2 changed files with 6 additions and 1 deletions

View File

@ -88,6 +88,11 @@
<div class="card shadow-md mb-4 rounded-top" >
<div class="card-body">
<h2 class="h5">{{$content->title}}</h2>

<div>
{{date("d.m.Y", strtotime($content->datum))}}
</div>

<div class="text-end">
<a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
</div>

View File

@ -28,7 +28,7 @@


<li class="item event-item display-flex align-items-center">
<div class="event-date"> <span class="date">06.</span> <span class="month">August</span> </div>
<div class="event-date"> <span class="date">{{date("d", strtotime($content->datum))}}.</span> <span class="month">{{date("F", strtotime($content->datum))}}</span> </div>
<div class="event-detail">
<h4><a href="{{$content->path}}">{{$content->title}}</a></h4>
</div>