Skip to content

Commit

Permalink
fix: metadata type
Browse files Browse the repository at this point in the history
  • Loading branch information
JustaSqu1d authored May 9, 2024
1 parent 039cf44 commit 20cea06
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/layouts/DefaultLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,24 @@ const DefaultLayout: React.FC<DefaultLayoutProps> = ({ title, description, child
<Head>
<title>{ title } - { site.tagline }</title>
<meta name="description" content={ description } />

<meta property="og:type" content="website" />
<meta property="og:description" content="The official guide for making bots and other Discord applications using the Pycord library." />
<meta property="og:title" content="The Pycord Guide" />
<meta property="og:image" content="https://guide.pycord.dev/img/logo.png" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:alt" content="Pycord Logo" />
<meta property="og:site_name" content={ title } />
<meta property="og:locale" content="en_US" />
<meta property="article:author" content="Pycord Development" />

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@PycordDev" />
<meta name="twitter:creator" content="@PycordDev" />
<meta name="twitter:title" content={ title } />
<meta name="twitter:description" content="The official guide for making bots and other Discord applications using the Pycord library." />
<meta name="twitter:image" content={"https://guide.pycord.dev/img/logo.png" } />
<meta name="twitter:image:alt" content="Pycord Logo" />
<meta name="theme-color" content="#5865F2" />
</Head>
<Layout>
Expand Down

0 comments on commit 20cea06

Please sign in to comment.