Skip to content

Commit 2290a54

Browse files
authored
chore(meta): Add twitter meta info (#2493)
1 parent ad73943 commit 2290a54

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

docusaurus.config.js

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,38 @@ module.exports = {
2424
organizationName: 'ionic-team',
2525
projectName: 'ionic-docs',
2626
themeConfig: {
27-
metadata: [{ name: 'og:image', content: 'https://ionicframework.com/docs/img/meta/open-graph.png' }],
27+
metadata: [
28+
{ name: 'og:image', content: 'https://ionicframework.com/docs/img/meta/open-graph.png' },
29+
{ name: 'twitter:image', content: 'https://ionicframework.com/docs/img/meta/open-graph.png' },
30+
{
31+
name: 'twitter:card',
32+
content: 'summary_large_image',
33+
},
34+
{
35+
name: 'twitter:domain',
36+
content: 'ionicframework.com',
37+
},
38+
{
39+
name: 'twitter:site',
40+
content: '@ionicframework',
41+
},
42+
{
43+
name: 'twitter:creator',
44+
content: 'ionicframework',
45+
},
46+
{
47+
name: 'fb:page_id',
48+
content: '1321836767955949',
49+
},
50+
{
51+
name: 'og:type',
52+
content: 'website',
53+
},
54+
{
55+
name: 'og:site_name',
56+
content: 'Ionic Framework Docs',
57+
},
58+
],
2859
colorMode: {
2960
defaultMode: 'light',
3061
},

0 commit comments

Comments
 (0)