build: 🔧 tweak open graph image options

This commit is contained in:
Sebin Nyshkim 2025-04-20 11:19:35 +02:00
parent ec17ee84e6
commit 3fa15866cf

View file

@ -72,6 +72,8 @@ export default async function (eleventyConfig) {
<meta name="twitter:image" content="${host + src}">`; <meta name="twitter:image" content="${host + src}">`;
}, },
satoriOptions: { satoriOptions: {
width: 1200,
height: 630,
fonts: [ fonts: [
{ {
name: 'Tilt Warp', name: 'Tilt Warp',
@ -80,6 +82,10 @@ export default async function (eleventyConfig) {
style: 'normal' style: 'normal'
} }
] ]
},
outputFileExtension: 'webp',
sharpOptions: {
quality: 100
} }
}); });
eleventyConfig.addPlugin(eleventyImageTransformPlugin, { eleventyConfig.addPlugin(eleventyImageTransformPlugin, {