From 870efb3bcd2f192a08096b24ec0a827a2043371c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Tue, 16 Jan 2024 17:53:25 +0100 Subject: [PATCH] . --- content/contents/leistungen.blade.php | 20 +++++++++++--------- content/master.blade.php | 6 +++--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/content/contents/leistungen.blade.php b/content/contents/leistungen.blade.php index 0c11840..15f56bf 100644 --- a/content/contents/leistungen.blade.php +++ b/content/contents/leistungen.blade.php @@ -54,17 +54,19 @@ - @if($content->bilder) -
-

Bilder

+ @isset($content->bilder) + @if($content->bilder) +
+

Bilder

+
+ @foreach($content->bilder as $image) +
+
- @foreach($content->bilder as $image) -
- -
- @endforeach + @endforeach @endif -
+ @endisset +
diff --git a/content/master.blade.php b/content/master.blade.php index 674202c..c07cb02 100644 --- a/content/master.blade.php +++ b/content/master.blade.php @@ -34,11 +34,11 @@ @endif