@if(count($articles)>1)

{{ $articles[0]['title'] }}

@if(isset($articles[0]['updated'])) @include('layouts.logos.icons.updated',['width'=>'18px','height'=>'18px','fill'=>'#cdcdcd']) {{ $articles[0]['updated'] }} @else {{ date('d F Y',strtotime(substr($articles[0]['fromDate'],0, strpos($articles[0]['fromDate'],' ')))).' | '.substr($articles[0]['fromDate'],-8,-3) }} @endif

{!! mb_substr(strip_tags($articles[0]['content'],"

,
"),0,250).'...' !!}

@elseif(count($articles) == 1)

{{ $articles[0]['title'] }}

@if(isset($articles[0]['updated'])) @include('layouts.logos.icons.updated',['width'=>'18px','height'=>'18px','fill'=>'black']) {{ $articles[0]['updated'] }} @else @if(isset($articles[0]['updated'])) @include('layouts.logos.icons.updated',['width'=>'18px','height'=>'18px','fill'=>'black']) {{ date('d F Y',strtotime(substr($articles[0]['updated'],0, strpos($articles[0]['updated'],' ')))).' | '.substr($articles[0]['updated'],-8,-3) }} @else {{ date('d F Y',strtotime(substr($articles[0]['fromDate'],0, strpos($articles[0]['fromDate'],' ')))).' | '.substr($articles[0]['fromDate'],-8,-3) }} @endif @endif

{!! mb_substr(strip_tags($articles[0]['content'],"

,
"),0,280).'...' !!}

@endif