diff --git a/src/utils/og-templates/post.tsx b/src/utils/og-templates/post.tsx index 480645c..a0dcf60 100644 --- a/src/utils/og-templates/post.tsx +++ b/src/utils/og-templates/post.tsx @@ -1,6 +1,7 @@ import { SITE } from "@config"; +import type { CollectionEntry } from "astro:content"; -export default (text: string) => { +export default (post: CollectionEntry<"blog">) => { return (
{ overflow: "hidden", }} > - {text} + {post.data.title}

{ " - {SITE.author} + {post.data.author}