Theme meta hotfix

This commit is contained in:
alistair3149 2019-08-13 20:16:30 -04:00
parent 9f21460dbb
commit 67581f74e8
2 changed files with 2 additions and 1 deletions

View file

@ -24,7 +24,7 @@ class SkinCitizen extends SkinTemplate {
'IE=edge'
);
// Theme color
$out->addMeta( 'theme_color',
$out->addMeta( 'theme-color',
$this->getConfig()->get( 'MFManifestThemeColor' )
);
// Generate manifest

View file

@ -13,6 +13,7 @@ class ApiWebappManifest extends ApiBase {
$config = $this->getConfig();
$resultObj = $this->getResult();
$resultObj->addValue( null, 'name', $config->get( 'Sitename' ) );
$resultObj->addValue( null, 'short_name', $config->get( 'Sitename' ) ); // Might as well add shortname
$resultObj->addValue( null, 'orientation', 'portrait' );
$resultObj->addValue( null, 'dir', $config->get( 'ContLang' )->getDir() );
$resultObj->addValue( null, 'lang', $config->get( 'LanguageCode' ) );