Skip to content

Commit

Permalink
remove metatag docsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
aspeddro committed Nov 12, 2023
1 parent e45e96f commit 4d77cdb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/components/Meta.res
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,5 @@ let make = (
/* TODO: Undo this later */
/* <meta key="twitter:image" property="twitter:image" content=ogImage /> */
<link rel="alternate" type_="application/rss+xml" title="ReScript Blog" href="/blog/feed.xml" />
{
let url = Next.Router.useRouter().route->Url.parse

let version = switch url.version {
| Version(version) => version
| NoVersion | Latest => "latest"
}

<meta name="docsearch:version" content={version} />
}
</Head>
}

0 comments on commit 4d77cdb

Please sign in to comment.