Fix: Do not show section title twice
This commit is contained in:
parent
f14ecaa374
commit
f839975252
|
@ -128,7 +128,7 @@ public function getSiteTitle(): string
|
|||
$title = $this->getArticleTitle();
|
||||
$section = $this->getSection();
|
||||
|
||||
if (!empty($section)) {
|
||||
if (!empty($section) && $section->getPath() !== $this->getPath()) {
|
||||
$title .= ' - ' . $section->getArticleTitle();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user