diff --git a/core/core.php b/core/core.php index 5eb30813..5295cc84 100644 --- a/core/core.php +++ b/core/core.php @@ -672,7 +672,11 @@ class common { $sitemap->addUrl($childKey,$datetime); // La sous-page est un blog - + if ($this->getData(['page', $childKey, 'moduleId']) === 'blog') { + foreach($this->getData(['module',$childKey]) as $articleId => $article) { + $sitemap->addUrl( $childKey . '/' . $articleId ) ; + } + } } // Articles du blog if ($this->getData(['page', $parentPageId, 'moduleId']) === 'blog') {