{{$menu_elem->h1_title}}
@if($main_pages->isNotEmpty())
@if($current_item->alias == 'catalog')
{{$current_item->name}}
@else
{{$current_item->name}}
@endif
@if($current_item_pages->isNotEmpty())
@if($current_item_pages->count() > 8)
@foreach($current_item_pages->chunk(8) as $chunk_current_item_pages)
@else
@foreach($chunk_current_item_pages as $chunk_current_item_page)
@include('front.templates.sitemap-page-item',['current_item_page'=>$chunk_current_item_page])
@endforeach
@endforeach
@foreach($current_item_pages as $current_item_page)
@include('front.templates.sitemap-page-item')
@endforeach
@endif
@endif