Fix JSON ld response

pull/1146/head
Kamran Ahmed 3 years ago
parent 1637ef20a6
commit 69ebb08c9e
  1. 9
      components/helmet.tsx

@ -131,9 +131,12 @@ const Helmet = (props: HelmetProps) => {
<link rel="icon" href="/manifest/favicon.ico" type="image/x-icon" /> <link rel="icon" href="/manifest/favicon.ico" type="image/x-icon" />
{roadmap?.id && ( {roadmap?.id && (
<script type="application/ld+json"> <script
{JSON.stringify(getRichSnippetJson(roadmap))} type="application/ld+json"
</script> dangerouslySetInnerHTML={{
__html: JSON.stringify(getRichSnippetJson(roadmap)),
}}
/>
)} )}
{/* Global Site Tag (gtag.js) - Google Analytics */} {/* Global Site Tag (gtag.js) - Google Analytics */}

Loading…
Cancel
Save