Skip to content

Commit 2490744

Browse files
committed
docs(site): fix descriptions on og:images
1 parent ca366bf commit 2490744

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/src/pages/og/[...path].png.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export const getStaticPaths = (async () => {
1515
export const GET: APIRoute = async ({ props }) => {
1616
const { entry } = props as any;
1717
const title = entry.data.title || ' ';
18-
const description = 'Consistent dependency versions in large JavaScript Monorepos';
18+
const defaultDescription = 'Consistent dependency versions in large JavaScript Monorepos';
19+
const description = entry.data.description || defaultDescription;
1920

2021
return await satoriAstroOG({
2122
template: html`

0 commit comments

Comments
 (0)