From 036e3081dac392607b879ad914d94dbd0b8e0c86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Tue, 14 Dec 2021 09:12:56 +0000 Subject: [PATCH] Update 'content/index.blade.php' --- content/index.blade.php | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/content/index.blade.php b/content/index.blade.php index 00f495a..19af275 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -72,7 +72,6 @@ - @if ($nachrichten->count() > 0)
@@ -84,23 +83,23 @@
- @foreach($nachrichten as $nach) + @foreach(filterByContentType($mdContents, "News")->take(3) as $content)
- @if ($nach->image) - + @if ($content->image) + @endif
-
{{$nach->title}}
+
{{$content->title}}
- {{date('d.m.Y H:i', strtotime($nach->created_at))}} + {{date('d.m.Y H:i', strtotime($content->created_at))}}

- {!! isset($nach->additional_fields['1']) ? $nach->additional_fields['1'] : 'keine Angaben' !!} + dfa

@@ -115,7 +114,6 @@
- @endif