1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Add revised tag

This commit is contained in:
DanieL 2022-08-11 15:01:51 -03:00
parent 3cadf5326f
commit bf27d62233

View file

@ -64,8 +64,10 @@ $twitter_site = $advancedCustom->twitter_site;
$title = getSEOTitle($video['title']);
$description = getSEODescription($video['description']);
$ogURL = Video::getLinkToVideo($videos_id, '', false,false);
$modifiedDate = date('Y-m-d', strtotime($video['modified']));
?>
<meta http-equiv="last-modified" content="<?php echo date('Y-m-d', strtotime($video['modified'])); ?>">
<meta http-equiv="last-modified" content="<?php echo $modifiedDate; ?>">
<meta name="revised" content="<?php echo $modifiedDate; ?>" />
<link rel="image_src" href="<?php echo $img; ?>" />
<meta property="og:image" content="<?php echo $img; ?>" />
<meta property="og:image:secure_url" content="<?php echo $img; ?>" />