Skip to content

Commit fbee8bd

Browse files
authored
feat(metadata): change embed icon to match main website (#465)
* feat(metadata): change Discord embed icon `image` to `thumbnail` * fix: image sizing * fix: metadata type
1 parent 52bc556 commit fbee8bd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/layouts/DefaultLayout.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,24 @@ const DefaultLayout: React.FC<DefaultLayoutProps> = ({ title, description, child
1616
<Head>
1717
<title>{ title } - { site.tagline }</title>
1818
<meta name="description" content={ description } />
19+
20+
<meta property="og:type" content="website" />
1921
<meta property="og:description" content="The official guide for making bots and other Discord applications using the Pycord library." />
2022
<meta property="og:title" content="The Pycord Guide" />
2123
<meta property="og:image" content="https://guide.pycord.dev/img/logo.png" />
24+
<meta property="og:image:type" content="image/png" />
25+
<meta property="og:image:alt" content="Pycord Logo" />
26+
<meta property="og:site_name" content={ title } />
27+
<meta property="og:locale" content="en_US" />
28+
<meta property="article:author" content="Pycord Development" />
29+
30+
<meta name="twitter:card" content="summary" />
31+
<meta name="twitter:site" content="@PycordDev" />
32+
<meta name="twitter:creator" content="@PycordDev" />
33+
<meta name="twitter:title" content={ title } />
34+
<meta name="twitter:description" content="The official guide for making bots and other Discord applications using the Pycord library." />
35+
<meta name="twitter:image" content={"https://guide.pycord.dev/img/logo.png" } />
36+
<meta name="twitter:image:alt" content="Pycord Logo" />
2237
<meta name="theme-color" content="#5865F2" />
2338
</Head>
2439
<Layout>

0 commit comments

Comments
 (0)