Fix logo of organization
This commit is contained in:
parent
1978ffb370
commit
6674b8975b
@ -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";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user