diff --git a/src/SitemapExtension.php b/src/SitemapExtension.php index b4c061f..fbf3dc6 100644 --- a/src/SitemapExtension.php +++ b/src/SitemapExtension.php @@ -132,7 +132,7 @@ private function getLinks() if (!$isIgnored && !$contentType['viewless'] && $searchable) { $baseDepth = 0; - if (isset($contentType['listing_template']) && !$config['ignore_listing']) { + if (!$config['ignore_listing']) { $baseDepth = 1; $links[] = [ 'link' => $rootPath . $contentType['slug'],