Skip to content

Commit 576e0f6

Browse files
committed
fix twitter/discord OG images
1 parent a1c4fa4 commit 576e0f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/ui/docs-layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ const OpenGraph = (props: ParentProps<{ origin: string }>) => {
2323
return (
2424
<>
2525
<Meta property="og:image" content={props.origin + url()} />
26-
<Meta property="twitter:card" content={props.origin + url()} />
26+
<Meta name="twitter:card" content="summary_large_image" />
27+
<Meta
28+
name="twitter:image:src"
29+
content={props.origin + url()}
30+
/>
2731
</>
2832
);
2933
};

0 commit comments

Comments
 (0)