This commit is contained in:
@@ -4,6 +4,7 @@ import { notFound } from "next/navigation";
|
||||
import type { Metadata } from "next";
|
||||
import { games, getGame } from "@/lib/games";
|
||||
import { getPostsByGame } from "@/lib/devblog";
|
||||
import { SITE_URL } from "@/lib/site";
|
||||
|
||||
function formatDate(date: string) {
|
||||
return new Date(date).toLocaleDateString("en-US", {
|
||||
@@ -51,9 +52,9 @@ export default async function GamePage({ params }: Props) {
|
||||
publisher: {
|
||||
"@type": "Organization",
|
||||
name: "Highland Games Studio",
|
||||
url: "https://highlandgamesstudio.com",
|
||||
url: SITE_URL,
|
||||
},
|
||||
url: `https://highlandgamesstudio.com/games/${game.slug}`,
|
||||
url: `${SITE_URL}/games/${game.slug}`,
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user