From: Marcus Funch Date: Sat, 31 May 2025 19:01:15 +0000 (+0200) Subject: Show page-specific title before site name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=441584b0d1339c36d9f48e4efa189aae1b296eee;p=friendica.git Show page-specific title before site name --- diff --git a/src/App/Page.php b/src/App/Page.php index 623f464086..a7337485ec 100644 --- a/src/App/Page.php +++ b/src/App/Page.php @@ -201,8 +201,8 @@ class Page implements ArrayAccess $this->page['title'] = $l10n->t(ucfirst($args->getModuleName())); } - // Prepend the sitename to the page title - $this->page['title'] = $config->get('config', 'sitename', '') . (!empty($this->page['title']) ? ' | ' . $this->page['title'] : ''); + // Append the sitename to the page title + $this->page['title'] = (!empty($this->page['title']) ? $this->page['title'] . ' | ' : '') . $config->get('config', 'sitename', ''); if (!empty(Renderer::$theme['stylesheet'])) { $stylesheet = Renderer::$theme['stylesheet'];