From ea7debf2629449eb39d6b51ced419714d2eef220 Mon Sep 17 00:00:00 2001 From: Jonathan Miller <230051081+jmiller-moko@users.noreply.github.com> Date: Thu, 26 Mar 2026 17:03:00 -0500 Subject: [PATCH] Update component.php --- src/component.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/component.php b/src/component.php index 48b29ef..217d8cb 100644 --- a/src/component.php +++ b/src/component.php @@ -54,15 +54,6 @@ $sitename = htmlspecialchars($sitenameR, ENT_QUOTES, 'UTF-8'); $menu = $app->getMenu()->getActive(); $pageclass = $menu !== null ? $menu->getParams()->get('pageclass_sfx', '') : ''; -// Respect “Site Name in Page Titles” (0:none, 1:before, 2:after) -$mode = (int) $app->get('sitename_pagetitles', 0); -$pageTitle = trim($this->getTitle()); -$final = $pageTitle !== '' - ? ($mode === 1 ? $sitenameR . ' - ' . $pageTitle - : ($mode === 2 ? $pageTitle . ' - ' . $sitenameR : $pageTitle)) - : $sitenameR; -$this->setTitle($final); - // Template/Media path $templatePath = 'media/templates/site/mokocassiopeia';