Skip to content

Commit

Permalink
fix twitter meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
tatchi committed Nov 30, 2022
1 parent 9b9590a commit 478bb88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions app/head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export default function Head() {
<meta property="og:type" content="website" />
<meta property="og:url" content="https://tx.shadcn.com" />
<meta property="og:image" content="https://tx.shadcn.com/og.jpg" />
<meta property="twitter:title" content="Taxonomy" />
<meta property="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Taxonomy" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://tx.shadcn.com" />
<meta property="twitter:image" content="https://tx.shadcn.com/og.jpg" />
<meta name="twitter:image" content="https://tx.shadcn.com/og.jpg" />
</>
)
}
8 changes: 4 additions & 4 deletions components/docs/mdx-head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ export default function MdxHead({ params, og }: MdxHeadProps) {
<meta property="og:description" content={ogDescription} />
<meta property="og:url" content={url} />
<meta property="og:image" content={ogUrl.toString()} />
<meta property="twitter:title" content={ogTitle} />
<meta property="twitter:description" content={ogDescription} />
<meta property="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content={ogTitle} />
<meta name="twitter:description" content={ogDescription} />
<meta name="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content={url} />
<meta property="twitter:image" content={ogUrl.toString()} />
<meta name="twitter:image" content={ogUrl.toString()} />
</>
)
}

0 comments on commit 478bb88

Please sign in to comment.