Commit 733afaf42d

733afaf42d5b85200e613ba7149641bc719da93a

parent: b25a064684

Unsigned

Memenami <159567483+Memenami@users.noreply.github.com> · 2025-11-17 15:29 UTC

Embed fix

Layout: unified · split

docs/.vitepress/configs/hooks/opengraph.ts +2 −2
@@ -96,8 +96,8 @@ async function generateImage({
96 96
97 const options: SatoriOptions = { 97 const options: SatoriOptions = {
98 // Use custom dimensions from frontmatter.og if provided 98 // Use custom dimensions from frontmatter.og if provided
99 width: frontmatter.og?.width ?? 1200, 99 width: frontmatter.og?.width ?? 1800,
100 height: frontmatter.og?.height ?? 630, 100 height: frontmatter.og?.height ?? 900,
101 fonts, 101 fonts,
102 props: { 102 props: {
103 title: frontmatter.layout === 'home' 103 title: frontmatter.layout === 'home'