game page bug fix
This commit is contained in:
@@ -546,8 +546,8 @@
|
||||
@push('scripts')
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "VideoGame",
|
||||
"@@context": "https://schema.org",
|
||||
"@@type": "VideoGame",
|
||||
"name": {{ json_encode($game->title) }},
|
||||
"description": {{ json_encode($game->summary ?? '') }},
|
||||
"url": {{ json_encode(route('games.show', $game)) }}
|
||||
@@ -559,7 +559,7 @@
|
||||
@endif
|
||||
@if($game->rating_count > 0)
|
||||
,"aggregateRating": {
|
||||
"@type": "AggregateRating",
|
||||
"@@type": "AggregateRating",
|
||||
"ratingValue": {{ $game->rating_avg }},
|
||||
"ratingCount": {{ $game->rating_count }},
|
||||
"bestRating": 10,
|
||||
|
||||
Reference in New Issue
Block a user