]> _ Git - psq.git/commitdiff
Update simple-preview.blade.php
authorLouis Jeckel <louis.jeckel@outlook.cm>
Mon, 14 Sep 2020 10:21:23 +0000 (12:21 +0200)
committerLouis Jeckel <louis.jeckel@outlook.cm>
Mon, 14 Sep 2020 10:21:23 +0000 (12:21 +0200)
resources/views/components/simple-preview.blade.php

index 86cca258d9b6c344624d5ba8a41d5de966075d41..aae1816957eb3405c5abe7b8d3531c777374ccc5 100644 (file)
             <div class="{{empty($image) ? 'col-12' : 'col-8'}}">
                 @if($actu->chapo)
                 <div class="chapo ">{!! $actu->chapo !!}</div>
-                @endif
+                @else
                 {!! $actu->preview ?? $actu->extract !!}
+                @endif
                 <a href="{{$actu->url}}" class="click-here">Lire la suite</a>
 
+
             </div>
         </div>
     </div>