diff --git a/htdocs/core/lib/website.lib.php b/htdocs/core/lib/website.lib.php index bacd62960d0..79864f3879d 100644 --- a/htdocs/core/lib/website.lib.php +++ b/htdocs/core/lib/website.lib.php @@ -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 .= ''."\n"; }