This commit is contained in:
Laurent Destailleur 2019-07-25 14:21:39 +02:00
parent e29023f155
commit 1978ffb370

View File

@ -476,17 +476,17 @@ function getStructuredData($type, WebsitePage $websitepage)
"@type": "Person", "@type": "Person",
"name": "'.$tmpuser->getFullName($weblangs).'" "name": "'.$tmpuser->getFullName($weblangs).'"
}, },
"publisher": {
"@type": "Organization",
"name": "'.$mysoc->name.'"
},
"description": "'.$websitepage->description.'" "description": "'.$websitepage->description.'"
}'."\n"; }'."\n";
/* /*
"publisher": { "logo": {
"@type": "Organization", "@type": "ImageObject",
"name": "Google", "url": "https://google.com/logo.jpg"
"logo": { }
"@type": "ImageObject",
"url": "https://google.com/logo.jpg"
}
},
*/ */
$ret .= '</script>'."\n"; $ret .= '</script>'."\n";
} }