fix sitemap
This commit is contained in:
parent
28d24619a9
commit
aa34464f71
|
@ -38,6 +38,10 @@ class SitemapBuilder
|
|||
foreach ($rootNode->getAllChildren() as $node) {
|
||||
$parameters = $node->getSitemapParameters();
|
||||
|
||||
if (!$parameters['isVisible']) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($node->hasExternalUrl()) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue