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 @@ - +