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}">`;
|
<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, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue