From cff0b608e601f917e26ab6293df5dbb686580b12 Mon Sep 17 00:00:00 2001 From: shadcn Date: Mon, 28 Nov 2022 12:37:36 +0400 Subject: [PATCH] fix: og title and description --- components/docs/mdx-head.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/docs/mdx-head.tsx b/components/docs/mdx-head.tsx index 99c1982..2e8b969 100644 --- a/components/docs/mdx-head.tsx +++ b/components/docs/mdx-head.tsx @@ -1,6 +1,8 @@ import * as z from "zod" import { allDocuments } from "contentlayer/generated" + import { ogImageSchema } from "@/lib/validations/og" +import { absoluteUrl } from "@/lib/utils" interface MdxHeadProps { params: { @@ -30,10 +32,13 @@ export default function MdxHead({ params, og }: MdxHeadProps) { return ( <> {title} + + +