mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 12:00:06 +02:00
SEO Improvement
This commit is contained in:
parent
0dcbdf657a
commit
59d506e167
1 changed files with 3 additions and 3 deletions
|
@ -2466,11 +2466,11 @@ function convertImageToOG($source, $destination){
|
||||||
function ogSite() {
|
function ogSite() {
|
||||||
global $global, $config;
|
global $global, $config;
|
||||||
echo "<!-- OpenGraph for the Site -->";
|
echo "<!-- OpenGraph for the Site -->";
|
||||||
if ($user_id = isChannel()) {
|
if ($users_id = isChannel()) {
|
||||||
$imgw = 200;
|
$imgw = 200;
|
||||||
$imgh = 200;
|
$imgh = 200;
|
||||||
$img = User::getOGImage($user_id);
|
$img = User::getOGImage($users_id);
|
||||||
$title = User::getNameIdentificationById($user_id);
|
$title = User::getNameIdentificationById($users_id);
|
||||||
$url = User::getChannelLink($users_id);
|
$url = User::getChannelLink($users_id);
|
||||||
?>
|
?>
|
||||||
<meta property="og:type" content="profile" />
|
<meta property="og:type" content="profile" />
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue