Skip to content

Commit

Permalink
added generation of twitter image
Browse files Browse the repository at this point in the history
This will allow us to properly share the pictures in twitter
  • Loading branch information
Bullrich committed May 7, 2024
1 parent 5ebc616 commit cf8d122
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ module.exports = config => {
weight: 700,
style: 'normal',
}],
}
},
generateHTML: (outputUrl) => `<meta property="og:image" content="${outputUrl}" />\n ` +
`<meta property="twitter:image" content="${outputUrl}" />`
});

return {
Expand Down

0 comments on commit cf8d122

Please sign in to comment.