Benjamin Völkl 2024-01-15 17:10:50 +01:00
parent 82ac0eba70
commit 80e7ff8248
2 changed files with 8 additions and 3 deletions

View File

@ -49,7 +49,12 @@
{!! $content->beschreibung !!} {!! $content->beschreibung !!}
</div> </div>


@isset($content->bilder)




@if($content->bilder)
<div class="col-12 mb-5"> <div class="col-12 mb-5">
<h2 class="mb-4 mt-5 h3">Bilder</h2> <h2 class="mb-4 mt-5 h3">Bilder</h2>
</div> </div>
@ -58,7 +63,7 @@
<x-img src="{{$image}}" class="rounded img-fluid border mb-3"/> <x-img src="{{$image}}" class="rounded img-fluid border mb-3"/>
</div> </div>
@endforeach @endforeach
@endisset @endif
</div> </div>
</div> </div>



View File

@ -68,7 +68,7 @@
"{{ $content->image}}" "{{ $content->image}}"


], ],
"datePublished": "{{ $content->creaed_at}}", "datePublished": "{{ $content->created_at}}",
"dateModified": "{{ $content->updated_at}}" "dateModified": "{{ $content->updated_at}}"


} }