Skip to content

Commit

Permalink
fix: remove duplicate tags (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavo-vasconcellos authored May 30, 2023
1 parent 250f6ed commit 70ef306
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/seo/Metatags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ function Metatags(props: Props) {
<Head>
<title>{title}</title>
<meta name="description" content={description} />
<meta name="theme-color" content={themeColor} />
<link rel="icon" href={favicon} />

{/* Twitter tags */}
<meta property="twitter:title" content={title} />
Expand All @@ -37,11 +39,6 @@ function Metatags(props: Props) {
<meta property="og:type" content={type} />
<meta property="og:image" content={image} />

<title>{title}</title>
<meta name="theme-color" content={themeColor} />
<meta name="description" content={description} />
<link rel="icon" href={favicon} />

{/* Link tags */}
{canonical && <link rel="canonical" href={canonical} />}
</Head>
Expand Down

0 comments on commit 70ef306

Please sign in to comment.