We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cff2583 commit 39572edCopy full SHA for 39572ed
1 file changed
apps/page/components/seo-tags.tsx
@@ -48,12 +48,19 @@ const SeoTags = ({
48
? `${title} | ${page?.title}`
49
: `${page?.title} | ${PageTypeToLabel[page?.type]}`
50
}
51
- description={description ?? page?.description ?? ""}
+ description={
52
+ truncatedDescription ??
53
+ page?.description ??
54
+ PageTypeToLabel[page?.type]
55
+ }
56
canonical={url || pageUrl}
57
openGraph={{
58
url: url || pageUrl,
59
title: title ?? page?.title,
- description: truncatedDescription ?? page?.description ?? "",
60
+ description:
61
62
63
+ PageTypeToLabel[page?.type],
64
images: [
65
{
66
url: ogImageUrl,
0 commit comments