Fix logo of organization

This commit is contained in:
Laurent Destailleur 2019-07-25 14:26:48 +02:00
parent 1978ffb370
commit 6674b8975b

View File

@ -479,14 +479,14 @@ function getStructuredData($type, WebsitePage $websitepage)
"publisher": {
"@type": "Organization",
"name": "'.$mysoc->name.'"
"logo": {
"@type": "ImageObject",
"url": "/viewimage.php?modulepart=mycompany&file=logos%2F'.urlencode($mysoc->logo).'"
}
},
"description": "'.$websitepage->description.'"
}'."\n";
/*
"logo": {
"@type": "ImageObject",
"url": "https://google.com/logo.jpg"
}
*/
$ret .= '</script>'."\n";
}