1
0

Fix: Do not show section title twice

This commit is contained in:
Richard Dern 2024-04-23 14:59:02 +02:00
parent f14ecaa374
commit f839975252

View File

@ -128,7 +128,7 @@ public function getSiteTitle(): string
$title = $this->getArticleTitle(); $title = $this->getArticleTitle();
$section = $this->getSection(); $section = $this->getSection();
if (!empty($section)) { if (!empty($section) && $section->getPath() !== $this->getPath()) {
$title .= ' - ' . $section->getArticleTitle(); $title .= ' - ' . $section->getArticleTitle();
} }