From 3b82030883e7b47adf468496ff417839143a5cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Fri, 17 Sep 2021 21:10:21 +0200 Subject: [PATCH] limited with take --- content/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/index.blade.php b/content/index.blade.php index bacd6b1..db4abd6 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -103,7 +103,7 @@

Aktuelle Neuigkeiten

- @foreach(filterByContentType($mdNachrichten, "News") as $nach) + @foreach(filterByContentType($mdNachrichten, "News")->take(3) as $nach)
@if ($nach->image) @@ -189,7 +189,7 @@
- @foreach(filterByContentType($mdNachrichten, "Produkte") as $nach) (edited) + @foreach(filterByContentType($mdNachrichten, "Produkte")->take(6) as $nach)