build: 🔧 tweak open graph image options
This commit is contained in:
parent
ec17ee84e6
commit
3fa15866cf
1 changed files with 6 additions and 0 deletions
|
@ -72,6 +72,8 @@ export default async function (eleventyConfig) {
|
|||
<meta name="twitter:image" content="${host + src}">`;
|
||||
},
|
||||
satoriOptions: {
|
||||
width: 1200,
|
||||
height: 630,
|
||||
fonts: [
|
||||
{
|
||||
name: 'Tilt Warp',
|
||||
|
@ -80,6 +82,10 @@ export default async function (eleventyConfig) {
|
|||
style: 'normal'
|
||||
}
|
||||
]
|
||||
},
|
||||
outputFileExtension: 'webp',
|
||||
sharpOptions: {
|
||||
quality: 100
|
||||
}
|
||||
});
|
||||
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue