@php /* $layout_page = news_list $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) {{ $newsDetail->created_at }} {{ $newsDetail->title }} {{ $newsDetail->description }} @endforeach {{ $news->links() }} @else {!! trans('front.no_data') !!} @endif @endsection {{-- breadcrumb --}} @section('breadcrumb') @php $bannerBreadcrumb = $modelBanner->start()->getBreadcrumb()->getData()->first(); @endphp {{ $title ?? '' }} @endsection {{-- //breadcrumb --}} @push('styles') {{-- Your css style --}} @endpush @push('scripts') {{-- Your scripts --}} @endpush
{{ $newsDetail->description }}