mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
Use sitename as title for the logo
This commit is contained in:
parent
bcff2d8027
commit
4f0fb48a76
|
@ -329,11 +329,13 @@ class CitizenTemplate extends BaseTemplate {
|
|||
* @return string html
|
||||
*/
|
||||
protected function getLogo() {
|
||||
$siteTitle = $language->convert( $this->getMsg( 'sitetitle' )->escaped() );
|
||||
$html = Html::rawElement( 'a', [
|
||||
'href' => $this->data['nav_urls']['mainpage']['href'],
|
||||
'id' => 'p-logo',
|
||||
'class' => 'mw-wiki-logo',
|
||||
] + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) );
|
||||
'title' => $siteTitle,
|
||||
] );
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue