Add comment

This commit is contained in:
Laurent Destailleur 2021-05-17 06:18:47 +02:00
parent 9a8bd2c24b
commit d1ff2e3590

View File

@ -666,6 +666,8 @@ function getStructuredData($type, $data = array())
$ret .= '"description": "'.dol_escape_json($description).'"';
$ret .= "\n".'}'."\n";
$ret .= '</script>'."\n";
} else {
$ret .= '<!-- no structured data inserted inline inside blogpost because no author_alias defined -->'."\n";
}
} elseif ($type == 'product') {
$ret = '<!-- Add structured data for product -->'."\n";