added content date
parent
2987d84d3c
commit
db778a962c
|
@ -88,6 +88,11 @@
|
||||||
<div class="card shadow-md mb-4 rounded-top" >
|
<div class="card shadow-md mb-4 rounded-top" >
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h2 class="h5">{{$content->title}}</h2>
|
<h2 class="h5">{{$content->title}}</h2>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
{{date("d.m.Y", strtotime($content->datum))}}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="text-end">
|
<div class="text-end">
|
||||||
<a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
|
<a href="{{$content->path}}" class="btn btn-primary">Mehr lesen</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
|
|
||||||
<li class="item event-item display-flex align-items-center">
|
<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">
|
<div class="event-detail">
|
||||||
<h4><a href="{{$content->path}}">{{$content->title}}</a></h4>
|
<h4><a href="{{$content->path}}">{{$content->title}}</a></h4>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue