@php /* $layout_page = shop_news **Variables:** - $news: paginate Use paginate: $news->appends(request()->except(['page','_token']))->links() */ @endphp @extends($sc_templatePath.'.layout') @section('block_main')
@if ($news->count()) @foreach ($news as $newsDetail)
{{-- Render product single --}} @include($sc_templatePath.'.common.blog_single', ['blog' => $newsDetail]) {{-- //Render product single --}}
@endforeach {{-- Render pagination --}} @include($sc_templatePath.'.common.pagination', ['items' => $news]) {{--// Render pagination --}} @else {!! sc_language_render('front.no_item') !!} @endif
@endsection @push('styles') {{-- Your css style --}} @endpush @push('scripts') {{-- //script here --}} @endpush