From 3f1dcfc7eac69b2af0f35c3d39a7e85abd2f7354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 20 Sep 2021 11:29:17 +0200 Subject: [PATCH] . --- content/contents/default.blade.php | 4 +--- content/includes/footer.blade.php | 4 +--- content/index.blade.php | 12 +++++++++--- content/news.blade.php | 2 +- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/content/contents/default.blade.php b/content/contents/default.blade.php index f2fc5b9..2b1bd6b 100644 --- a/content/contents/default.blade.php +++ b/content/contents/default.blade.php @@ -27,9 +27,7 @@ diff --git a/content/includes/footer.blade.php b/content/includes/footer.blade.php index ba1355f..f28357d 100644 --- a/content/includes/footer.blade.php +++ b/content/includes/footer.blade.php @@ -63,12 +63,10 @@
-
- @foreach(filterByContentType($mdNachrichten, "News")->take(3) as $nach) -
-
+
+
@if ($nach->image) @endif @@ -49,18 +49,24 @@ {{date('d.m.Y H:i', strtotime($nach->created_at))}} -

+

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

+
+ @endforeach + +
diff --git a/content/news.blade.php b/content/news.blade.php index 30fe3ea..c27a5f9 100644 --- a/content/news.blade.php +++ b/content/news.blade.php @@ -51,7 +51,7 @@ @if ($nach->image) Gallery image @else - Gallery image + Gallery image @endif