diff --git a/core/module/sitemap/view/index/index.php b/core/module/sitemap/view/index/index.php
index 220bc2a9..a96a3f62 100755
--- a/core/module/sitemap/view/index/index.php
+++ b/core/module/sitemap/view/index/index.php
@@ -1,14 +1,16 @@
getHierarchy() as $parentId => $childIds): ?>
-
- getData(['page', $parentId, 'disable']) == false) { ?>
+ getData(['page', $parentId, 'disable']) == false ||
+ $this->getData(['page', $parentId, 'block']) !== 'bar') { ?>
getData(['page', $parentId, 'title']); ?>
getData(['page', $parentId, 'title']); }?>
-
- getData(['page', $childId, 'disable']) == false) { ?>
+ getData(['page', $childId, 'disable']) == false ||
+ $this->getData(['page', $childId, 'block']) == 'bar') { ?>
getData(['page', $childId, 'title']); ?>
getData(['page', $childId, 'title']); }?>