fix: use correct json ld
This commit is contained in:
parent
8d13165ff3
commit
979627ca2a
@ -30,7 +30,8 @@ function generateJsonLd(resource: GenericResource): string {
|
|||||||
baseSchema.aggregateRating = {
|
baseSchema.aggregateRating = {
|
||||||
"@type": "AggregateRating",
|
"@type": "AggregateRating",
|
||||||
ratingValue: resource.meta.rating,
|
ratingValue: resource.meta.rating,
|
||||||
bestRating: 10, // Assuming a scale of 1 to 10
|
ratingCount: 1,
|
||||||
|
bestRating: 5, // Assuming a scale of 1 to 10
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user