@php /* $layout_page = content_list **Variables:** - $entries: paginate Use paginate: $entries->appends(request()->except(['page','_token']))->links() */ @endphp @extends($sc_templatePath.'.layout') @section('block_main')
@if ($entries->count()) @foreach ($entries as $entryDetail)
{{-- Render entry single --}} @include($sc_templatePath.'.common.entry_single', ['entry' => $entryDetail]) {{-- //Render entry single --}}
@endforeach {{-- Render pagination --}} @include($sc_templatePath.'.common.pagination', ['items' => $entries]) {{--// Render pagination --}} @else {!! sc_language_render('front.no_item') !!} @endif
{{-- Render include view --}} @include($sc_templatePath.'.common.include_view') {{--// Render include view --}} @endsection @push('scripts') {{-- Script here --}} @endpush