Fix logo of organization
This commit is contained in:
parent
1978ffb370
commit
6674b8975b
@ -479,14 +479,14 @@ function getStructuredData($type, WebsitePage $websitepage)
|
|||||||
"publisher": {
|
"publisher": {
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
"name": "'.$mysoc->name.'"
|
"name": "'.$mysoc->name.'"
|
||||||
|
"logo": {
|
||||||
|
"@type": "ImageObject",
|
||||||
|
"url": "/viewimage.php?modulepart=mycompany&file=logos%2F'.urlencode($mysoc->logo).'"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"description": "'.$websitepage->description.'"
|
"description": "'.$websitepage->description.'"
|
||||||
}'."\n";
|
}'."\n";
|
||||||
/*
|
/*
|
||||||
"logo": {
|
|
||||||
"@type": "ImageObject",
|
|
||||||
"url": "https://google.com/logo.jpg"
|
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
$ret .= '</script>'."\n";
|
$ret .= '</script>'."\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user