Show page-specific title before site name
This commit is contained in:
parent
544b926c9e
commit
441584b0d1
1 changed files with 2 additions and 2 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue