mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 20:54:48 -04:00
fix og:image
This commit is contained in:
parent
739bc648c5
commit
6785fbe8f3
@ -35,7 +35,7 @@ export const head = ({title, description, banner}) => {
|
|||||||
|
|
||||||
if (banner) {
|
if (banner) {
|
||||||
banner = process.env.BASE_URL + '/' + banner.replace(/^\//, '');
|
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 });
|
meta.meta.push({ hid: 'twitter:image', property: 'twitter:image', content: banner });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user