Skip to content

Commit 3d87506

Browse files
committed
adds og:image to every page
This PR adds an og:image meta tag to every page, and reuses react's og:image for the same. This will mean links shared on twitter will correctly have a react logo as an attached image.
1 parent 84feef1 commit 3d87506

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

website/siteConfig.js

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ const siteConfig = {
6666
},
6767
facebookAppId: '1677033832619985',
6868
twitter: 'reactnative',
69+
twitterImage: 'img/logo-og.png',
70+
ogImage: 'img/logo-og.png',
6971
markdownPlugins: [
7072
RemarkablePlugins.SnackPlayer,
7173
RemarkablePlugins.ReactNativeWebPlayer,

website/static/img/logo-og.png

10.5 KB
Loading

0 commit comments

Comments
 (0)