@extends('themes::themetocanime.layout') @php $years = Cache::remember('all_years', \Backpack\Settings\app\Models\Setting::get('site_cache_ttl', 5 * 60), function () { return \VsMov\Core\Models\Movie::select('publish_year') ->distinct() ->pluck('publish_year') ->sortDesc(); }); @endphp @push('header') @endpush @section('catalog_filter') @include('themes::themetocanime.inc.catalog_filter') @endsection @section('content')

{{$section_name}}

@if (!count($data))
@endif @foreach ($data as $movie) @include('themes::themetocanime.inc.section_movie_item') @endforeach
{{ $data->appends(request()->all())->links('themes::themetocanime.inc.pagination') }} @endsection