update config and bugfix
parent
6462c2ea68
commit
d0f7a6cf92
|
@ -29,11 +29,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name":"Produkte",
|
"name":"Produkt",
|
||||||
"description":"Produkte",
|
"description":"Produkt",
|
||||||
"icon":"shopping-bag",
|
"icon":"shopping-bag",
|
||||||
"status":"1",
|
"status":"1",
|
||||||
"blade": "produkte",
|
"blade": "produkt",
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"name": "Beschreibung",
|
"name": "Beschreibung",
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
data-new-url="{{route_content($content)}}"
|
data-new-url="{{route_content($content)}}"
|
||||||
data-new-title="{{$content->title}}"
|
data-new-title="{{$content->title}}"
|
||||||
data-new-date="{{date('Y-m-d h:i:s', strtotime($content->created_at))}}"
|
data-new-date="{{date('Y-m-d h:i:s', strtotime($content->created_at))}}"
|
||||||
data-author-url="{{route('user.get', [$content->user->slug])}}"
|
data-author-url="{{route('users.show', [$content->user->slug])}}"
|
||||||
data-author-name="{{$content->user->name}}"
|
data-author-name="{{$content->user->name}}"
|
||||||
data-author-image="{{$content->user->gravatar()}}"
|
data-author-image="{{$content->user->gravatar()}}"
|
||||||
></span>
|
></span>
|
||||||
|
|
|
@ -225,16 +225,16 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@foreach(filterByContentType($mdContents, "Produkte")->take(6) as $content)
|
@foreach(filterByContentType($mdContents, "Produkt")->take(6) as $content)
|
||||||
<div class="col-4 col-md-2 mb-4">
|
<div class="col-4 col-md-2 mb-4">
|
||||||
<a href="{{ route_content($content) }}" title="{{$content->title}}">
|
<a href="{{ route_content($content) }}" title="{{$content->title}}">
|
||||||
@if ($content->image)
|
@if($content->image)
|
||||||
<img class="rounded border img-fluid" src="{{ asset($content->image) }}" loading="lazy">
|
<img class="rounded border img-fluid" src="{{ asset($content->image) }}" loading="lazy">
|
||||||
@else
|
@else
|
||||||
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
|
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
|
||||||
@endif
|
@endif
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
<div class="col-12 text-center">
|
<div class="col-12 text-center">
|
||||||
<a href="{{url('/produkte')}}" class="text-center small" >Mehr Produkte</a>
|
<a href="{{url('/produkte')}}" class="text-center small" >Mehr Produkte</a>
|
||||||
|
|
Loading…
Reference in New Issue