File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 88
99class Fields
1010{
11- use HasAssetField, GetsSectionDefaults ;
11+ use GetsSectionDefaults, HasAssetField ;
1212
1313 protected $ data ;
1414 protected $ isContent ;
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ public function index()
1717
1818 if (config ('statamic.seo-pro.sitemap.pagination.enabled ' , false )) {
1919 $ content = Cache::remember (Sitemap::CACHE_KEY .'_index ' , $ cacheUntil , function () {
20- return view ('seo-pro::sitemap_index ' , [
21- 'xml_header ' => '<?xml version="1.0" encoding="UTF-8"?> ' ,
22- 'sitemaps ' => Sitemap::paginatedSitemaps (),
23- ])->render ();
24- });
20+ return view ('seo-pro::sitemap_index ' , [
21+ 'xml_header ' => '<?xml version="1.0" encoding="UTF-8"?> ' ,
22+ 'sitemaps ' => Sitemap::paginatedSitemaps (),
23+ ])->render ();
24+ });
2525 } else {
2626 $ content = Cache::remember (Sitemap::CACHE_KEY , $ cacheUntil , function () {
2727 return view ('seo-pro::sitemap ' , [
You can’t perform that action at this time.
0 commit comments