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