update config and bugfix
parent
6462c2ea68
commit
d0f7a6cf92
|
@ -29,11 +29,11 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"name":"Produkte",
|
||||
"description":"Produkte",
|
||||
"name":"Produkt",
|
||||
"description":"Produkt",
|
||||
"icon":"shopping-bag",
|
||||
"status":"1",
|
||||
"blade": "produkte",
|
||||
"blade": "produkt",
|
||||
"fields": [
|
||||
{
|
||||
"name": "Beschreibung",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
data-new-url="{{route_content($content)}}"
|
||||
data-new-title="{{$content->title}}"
|
||||
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-image="{{$content->user->gravatar()}}"
|
||||
></span>
|
||||
|
|
|
@ -225,10 +225,10 @@
|
|||
</div>
|
||||
</div>
|
||||
<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">
|
||||
<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">
|
||||
@else
|
||||
<img class="rounded border img-fluid" src="{{ asset('template/images/konradenhof-placeholder.jpg') }}" loading="lazy">
|
||||
|
|
Loading…
Reference in New Issue