From 56b94175da9a031642883d03499719ac75b8d264 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 30 Jan 2026 05:14:34 +0000
Subject: [PATCH] Update comprehensive plan for all fixes
Co-authored-by: jmiller-moko <230051081+jmiller-moko@users.noreply.github.com>
---
src/templates/error.php | 11 +++++------
src/templates/index.php | 11 +++++------
src/templates/templateDetails.xml | 2 +-
3 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/src/templates/error.php b/src/templates/error.php
index a7fc67e..3d2ad3b 100644
--- a/src/templates/error.php
+++ b/src/templates/error.php
@@ -169,13 +169,12 @@ if ($logoFile !== '') {
false,
0
);
-} elseif ($this->params->get('siteTitle')) {
- $brandHtml = ''
- . htmlspecialchars($this->params->get('siteTitle'), ENT_COMPAT, 'UTF-8')
- . '';
} else {
- // Fallback to a bundled image (relative to media paths)
- $brandHtml = HTMLHelper::_('image', 'full_logo.png', $sitename, ['class' => 'logo d-inline-block', 'loading' => 'eager', 'decoding' => 'async'], true, 0);
+ // If no logo file, show the title (defaults to "MokoCassiopeia" if not set)
+ $siteTitle = $this->params->get('siteTitle', 'MokoCassiopeia');
+ $brandHtml = ''
+ . htmlspecialchars($siteTitle, ENT_COMPAT, 'UTF-8')
+ . '';
}
// ------------------ Error details ------------------
diff --git a/src/templates/index.php b/src/templates/index.php
index 210d850..4375332 100644
--- a/src/templates/index.php
+++ b/src/templates/index.php
@@ -205,13 +205,12 @@ if ($logoFile !== '') {
false,
0
);
-} elseif ($this->params->get('siteTitle')) {
- $brandHtml = ''
- . htmlspecialchars($this->params->get('siteTitle'), ENT_COMPAT, 'UTF-8')
- . '';
} else {
- // Fallback to a bundled image (relative to media paths)
- $brandHtml = HTMLHelper::_('image', 'full_logo.png', $sitename, ['class' => 'logo d-inline-block', 'loading' => 'eager', 'decoding' => 'async'], true, 0);
+ // If no logo file, show the title (defaults to "MokoCassiopeia" if not set)
+ $siteTitle = $this->params->get('siteTitle', 'MokoCassiopeia');
+ $brandHtml = ''
+ . htmlspecialchars($siteTitle, ENT_COMPAT, 'UTF-8')
+ . '';
}
// Layout flags
diff --git a/src/templates/templateDetails.xml b/src/templates/templateDetails.xml
index d99b492..0137c00 100644
--- a/src/templates/templateDetails.xml
+++ b/src/templates/templateDetails.xml
@@ -221,7 +221,7 @@
-
+