mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47: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',
|
'Android',
|
||||||
'icon-android',
|
'icon-android',
|
||||||
false,
|
false,
|
||||||
false,
|
"Android",
|
||||||
"<span class='icon-android icon-fw'></span> Android"
|
"<span class='icon-android icon-fw'></span> Android"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ class OS
|
||||||
'iOS',
|
'iOS',
|
||||||
'icon-mobile',
|
'icon-mobile',
|
||||||
false,
|
false,
|
||||||
false,
|
"iOS",
|
||||||
"<span class='icon-ios icon-fw'></span> iOS"
|
"<span class='icon-ios icon-fw'></span> iOS"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ class Response
|
||||||
|
|
||||||
public static function getMetaTitle()
|
public static function getMetaTitle()
|
||||||
{
|
{
|
||||||
return static::$metaTitle;
|
return trim(static::$metaTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function guessMetaTitle($content)
|
public static function guessMetaTitle($content)
|
||||||
|
@ -82,11 +82,11 @@ class Response
|
||||||
if ($headerValue == '1' || !$title) {
|
if ($headerValue == '1' || !$title) {
|
||||||
$title = $titleMatches[2][$matchIndex];
|
$title = $titleMatches[2][$matchIndex];
|
||||||
if ($headerValue == '1') {
|
if ($headerValue == '1') {
|
||||||
return $title;
|
return trim($title);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $title;
|
return trim($title);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getJsCalls()
|
public static function getJsCalls()
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<section class="hero hero--half-height">
|
<section class="hero hero--half-height">
|
||||||
<div class="inner-wrap inner-wrap--center-hero">
|
<div class="inner-wrap inner-wrap--center-hero">
|
||||||
<h1>
|
<h1>
|
||||||
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[5]]) ?>
|
<?php echo __('download.for-os2', ['%os%' => OS::OS_DETAIL($os)[4]]) ?>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Add table
Reference in a new issue