Add comment
This commit is contained in:
parent
9a8bd2c24b
commit
d1ff2e3590
@ -666,6 +666,8 @@ function getStructuredData($type, $data = array())
|
|||||||
$ret .= '"description": "'.dol_escape_json($description).'"';
|
$ret .= '"description": "'.dol_escape_json($description).'"';
|
||||||
$ret .= "\n".'}'."\n";
|
$ret .= "\n".'}'."\n";
|
||||||
$ret .= '</script>'."\n";
|
$ret .= '</script>'."\n";
|
||||||
|
} else {
|
||||||
|
$ret .= '<!-- no structured data inserted inline inside blogpost because no author_alias defined -->'."\n";
|
||||||
}
|
}
|
||||||
} elseif ($type == 'product') {
|
} elseif ($type == 'product') {
|
||||||
$ret = '<!-- Add structured data for product -->'."\n";
|
$ret = '<!-- Add structured data for product -->'."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user