This commit is contained in:
f4ilji
2025-01-12 14:54:28 +05:00
parent 0a5ff27966
commit fab57a3306
+2
View File
@@ -65,6 +65,8 @@ class GenerateSitemap extends Command
->where('code', 200) ->where('code', 200)
->where('path', '!=', null) ->where('path', '!=', null)
->where('is_url', false) ->where('is_url', false)
->where('title', '!=', null)
->where('searchable', true)
->get(); ->get();
$this->addUrlsToSitemap($sitemap, $pages, function($page) { $this->addUrlsToSitemap($sitemap, $pages, function($page) {