This commit is contained in:
Laurent Destailleur 2020-06-03 19:24:26 +02:00
parent 7f1fea1e09
commit bd56210e97

View File

@ -546,7 +546,7 @@ function getStructuredData($type, $data = array())
if ($type == 'software')
{
$ret = '<!-- Add structured data for software post -->'."\n";
$ret = '<!-- Add structured data for entry in a software annuary -->'."\n";
$ret .= '<script type="application/ld+json">'."\n";
$ret .= '{
"@context": "https://schema.org",
@ -708,7 +708,7 @@ function getStructuredData($type, $data = array())
$ret .= '</script>'."\n";
} elseif ($type == 'qa')
{
$ret = '<!-- Add structured data for product -->'."\n";
$ret = '<!-- Add structured data for QA -->'."\n";
$ret .= '<script type="application/ld+json">'."\n";
$ret .= '{
"@context": "https://schema.org/",