mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 09:37:26 +00:00
minor metadata cleanup
This commit is contained in:
parent
fecc4d1308
commit
4a3fabf2fd
3 changed files with 6 additions and 6 deletions
|
@ -20,7 +20,7 @@ class OS
|
|||
'Android',
|
||||
'icon-android',
|
||||
false,
|
||||
false,
|
||||
"Android",
|
||||
"<span class='icon-android icon-fw'></span> Android"
|
||||
];
|
||||
|
||||
|
@ -30,7 +30,7 @@ class OS
|
|||
'iOS',
|
||||
'icon-mobile',
|
||||
false,
|
||||
false,
|
||||
"iOS",
|
||||
"<span class='icon-ios icon-fw'></span> iOS"
|
||||
];
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ class Response
|
|||
|
||||
public static function getMetaTitle()
|
||||
{
|
||||
return static::$metaTitle;
|
||||
return trim(static::$metaTitle);
|
||||
}
|
||||
|
||||
public static function guessMetaTitle($content)
|
||||
|
@ -82,11 +82,11 @@ class Response
|
|||
if ($headerValue == '1' || !$title) {
|
||||
$title = $titleMatches[2][$matchIndex];
|
||||
if ($headerValue == '1') {
|
||||
return $title;
|
||||
return trim($title);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $title;
|
||||
return trim($title);
|
||||
}
|
||||
|
||||
public static function getJsCalls()
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<section class="hero hero--half-height">
|
||||
<div class="inner-wrap inner-wrap--center-hero">
|
||||
<h1>
|
||||
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[5]]) ?>
|
||||
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[4]]) ?>
|
||||
</h1>
|
||||
</div>
|
||||
</section>
|
||||
|
|
Loading…
Add table
Reference in a new issue