Skip to content

Commit

Permalink
fix google jsonld search issue
Browse files Browse the repository at this point in the history
  • Loading branch information
k2xl committed May 12, 2024
1 parent d808b54 commit 6e09ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/[subdomain]/level/[username]/[slugName].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export default function LevelPage({ _collection, _level, reqUser }: LevelProps)
bestRating: 100,
worstRating: 0,
ratingValue: Math.round(100 * level.calc_reviews_score_laplace),
ratingCount: level.calc_reviews_count,
ratingCount: Math.max(1, level.calc_reviews_count),
}}

datePublished={level.ts && new Date(level.ts * 1000).toISOString() || ''}
Expand Down

0 comments on commit 6e09ee0

Please sign in to comment.