Skip to content

Commit

Permalink
Fix findings metatags
Browse files Browse the repository at this point in the history
  • Loading branch information
majakomel committed Nov 28, 2023
1 parent b5a7889 commit 4c39d1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ const Header = () => {
<meta property="og:url" content={canonical} />

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="OONI Explorer" />
<meta key="twitter:title" name="twitter:title" content="OONI Explorer" />
<meta name="twitter:site" content="@openobservatory" />
<meta name="twitter:creator" content="@openobservatory" />

<meta key="og:title" name='og:title' property='og:title' content={title} />
<meta key="og:title" property="og:title" content={title} />
<meta key="og:description" property="og:description" content={description} />
<meta property='og:type' content='website' />
<meta property="og:type" content="website" />
</Head>
)
}
Expand Down
8 changes: 4 additions & 4 deletions pages/findings/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ const ReportView = ({ data }) => {
<Head>
<title>{metaTitle}</title>
<meta name="description" content={metaDescription} />
<meta property="og:title" content={metaTitle} />
<meta property="og:description" content={metaDescription} />
<meta name="twitter:title" content={metaTitle} />
<meta name="twitter:description" content={metaDescription} />
<meta key="og:title" property="og:title" content={metaTitle} />
<meta key="og:description" property="og:description" content={metaDescription} />
<meta key="twitter:title" name="twitter:title" content={metaTitle} />
<meta key="twitter:description" name="twitter:description" content={metaDescription} />
</Head>
<NavBar />
<Container>
Expand Down

0 comments on commit 4c39d1f

Please sign in to comment.