diff --git a/Controllers/SitemapController.php b/Controllers/SitemapController.php index 59fda0e..ae60d99 100644 --- a/Controllers/SitemapController.php +++ b/Controllers/SitemapController.php @@ -38,7 +38,8 @@ public function sitemapAction( $nodeTypes = $this->get('em') ->getRepository(NodeType::class) ->findBy([ - 'reachable' => true + 'reachable' => true, + 'name' => ['!=', 'Link'], // Prevent links to be listed ]); /*