fix og:image

This commit is contained in:
Andrea Vos 2020-11-29 18:29:45 +01:00
parent 739bc648c5
commit 6785fbe8f3

View File

@ -35,7 +35,7 @@ export const head = ({title, description, banner}) => {
if (banner) {
banner = process.env.BASE_URL + '/' + banner.replace(/^\//, '');
meta.meta.push({ hid: 'og:logo', property: 'og:logo', content: banner });
meta.meta.push({ hid: 'og:image', property: 'og:image', content: banner });
meta.meta.push({ hid: 'twitter:image', property: 'twitter:image', content: banner });
}