Add the @id for json-ld

This commit is contained in:
Guillaume F 2024-02-14 16:30:53 +01:00
parent f7e5fb2f9b
commit 72f3b3b849

View File

@ -88,6 +88,7 @@ function getPostSchema(metaData, data) {
schema = {
'@context': 'https://schema.org',
'@type': 'Article',
'@id': metaData.url,
publisher: schemaPublisherObject(metaData),
author: {
'@type': 'Person',