From 632acab0c3f930051e6abd6eea3e6751e0452242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20V=C3=B6lkl?= Date: Mon, 10 May 2021 08:13:49 +0200 Subject: [PATCH] if there are now news section will not be included --- content/index.blade.php | 42 ++++------------------------------------- 1 file changed, 4 insertions(+), 38 deletions(-) diff --git a/content/index.blade.php b/content/index.blade.php index 6493168..de24bfc 100644 --- a/content/index.blade.php +++ b/content/index.blade.php @@ -71,12 +71,10 @@ + + @if ($nachrichten->count() > 0)
- - - -
@@ -89,10 +87,6 @@ @foreach($nachrichten as $nach)
- - - -
@if ($nach->image) @@ -100,53 +94,25 @@ @endif
- -
{{$nach->title}}
-
- {{date('d.m.Y H:i', strtotime($nach->created_at))}} -
- - - - - -

- {!! $nach->nachrichten !!} -

- - - - +

{!! $nach->nachrichten !!}

- - - - - - - -
@endforeach - -
- - -
+ @endif