Merge pull request #14956 from mf-fx/page_specific_title_before_sitename
Show page-specific title before site name
This commit is contained in:
commit
f32cb5c0dc
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()));
|
$this->page['title'] = $l10n->t(ucfirst($args->getModuleName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prepend the sitename to the page title
|
// Append the sitename to the page title
|
||||||
$this->page['title'] = $config->get('config', 'sitename', '') . (!empty($this->page['title']) ? ' | ' . $this->page['title'] : '');
|
$this->page['title'] = (!empty($this->page['title']) ? $this->page['title'] . ' | ' : '') . $config->get('config', 'sitename', '');
|
||||||
|
|
||||||
if (!empty(Renderer::$theme['stylesheet'])) {
|
if (!empty(Renderer::$theme['stylesheet'])) {
|
||||||
$stylesheet = Renderer::$theme['stylesheet'];
|
$stylesheet = Renderer::$theme['stylesheet'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue