From f8399752520c04d665e11c2b91b2f7c0b8a43fd4 Mon Sep 17 00:00:00 2001 From: Richard Dern Date: Tue, 23 Apr 2024 14:59:02 +0200 Subject: [PATCH] Fix: Do not show section title twice --- app/Classes/Bundle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Classes/Bundle.php b/app/Classes/Bundle.php index 608dfb6..ff72ef2 100644 --- a/app/Classes/Bundle.php +++ b/app/Classes/Bundle.php @@ -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(); }