feat : overwite buzz.sudloh.com/guide
This commit is contained in:
@@ -4,6 +4,7 @@ import { notFound } from "next/navigation";
|
||||
import { GoogleAdsense } from "@/components/public/google-adsense";
|
||||
import { StructuredGuideShell } from "@/components/public/structured-guide";
|
||||
import { getCachedPublicGuide } from "@/lib/cache/public";
|
||||
import { siteUrl } from "@/lib/site-url";
|
||||
|
||||
type Params = Promise<{ character: string }>;
|
||||
|
||||
@@ -19,6 +20,7 @@ export async function generateMetadata({
|
||||
? {
|
||||
title: `${guide.name}`,
|
||||
description: guide.overview,
|
||||
alternates: { canonical: `${siteUrl}/${encodeURIComponent(guide.slug)}` },
|
||||
openGraph: { images: [guide.coverUrl] },
|
||||
twitter: { images: [guide.coverUrl] },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user