diff --git a/content/index.blade.php b/content/index.blade.php index 3d80cf0..8a3b6d9 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -2,18 +2,12 @@ @extends('template.'.config('settings.template').'.content.master') @section('content') -
+
-
-
-

{{config('settings.name')}}

-

{{config('settings.description')}}

+
+
+

{{config('settings.name')}}

+

{{config('settings.description')}}

@@ -87,7 +81,66 @@ @endif @endif + @if($type->get("Produkte")->status) + @php($products = filterByContentType("Produkte")) + @if($products->isNotEmpty()) +
+
+
+
+

Produkte

+
+ + @foreach($products->take(3) as $content) +
+
+ + + +
+

+ + {{$content->title}} + +

+
+ + + {{$content->updated_at->diffForHumans()}} + +
+ + {{$content->kurzbeschreibung}} +
+ + + +
+
+ @endforeach + + @if($products->count() > 3) + + @endif + +
+
+
+ @endif + @endif