@php $i = 0; $x = 0; $p = 0; @endphp
@foreach($articles as $key => $article)
@if($i % 2 == 0 && $i != 0 && $i % 4 != 0)
@if(isset($jobs[$x]))
{!!$jobs[$x]->summary!!}
@endif
@php $x++; @endphp
@endif
@if($i != 0 && $i % 4 == 0 && Auth::check())
@if(isset($person[$p]))
{!!$person[$p]->executive_summary!!}
@endif
@php $p++; @endphp
@endif
{!!$article->description!!}
@php $i++; @endphp
@endforeach