@php $category = $categories[0]; $news = category_news($category->id); @endphp
@include('global.separatior')
@forelse ($news as $info) @if ($loop->first)
@include('global.image')

@if ($info->sub_title) {{ $info->sub_title }} @endif {{ $info->title }}

@endif @empty @endforelse
@forelse ($news as $info) @if ($loop->iteration == 2 || $loop->iteration == 3)
@include('global.image')

@if ($info->sub_title) {{ $info->sub_title }} @endif {{ $info->title }}

@endif @empty @endforelse
@forelse ($news as $info) @if ($loop->iteration >= 4 && $loop->iteration <= 5)
@include('global.image')

@if ($info->sub_title) {{ $info->sub_title }} @endif {{ $info->title }}

@endif @empty @endforelse
@forelse ($news as $info) @if ($loop->iteration >= 6 && $loop->iteration <= 7)
@include('global.image')

@if ($info->sub_title) {{ $info->sub_title }} @endif {{ $info->title }}

@endif @empty @endforelse
@forelse ($news as $info) @if ($loop->iteration >= 8 && $loop->iteration <= 9 )
@include('global.image')

@if ($info->sub_title) {{ $info->sub_title }} @endif {{ $info->title }}

@endif @empty @endforelse