Changes
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user