mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 20:51:33 +10:00
feat: add og image to blog posts
This commit is contained in:
committed by
Mythie
parent
991411c9f5
commit
d536305c1c
@ -17,7 +17,12 @@ export const generateMetadata = ({ params }: { params: { post: string } }) => {
|
||||
notFound();
|
||||
}
|
||||
|
||||
return { title: `Documenso - ${blogPost.title}` };
|
||||
return {
|
||||
title: `Documenso - ${blogPost.title}`,
|
||||
openGraph: {
|
||||
images: [`/api/blog-og?title=${blogPost.title}`],
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
const mdxComponents: MDXComponents = {
|
||||
|
||||
Reference in New Issue
Block a user