Fix JSON ld response

pull/1657/head
Kamran Ahmed 3 years ago
parent 5b0c03a4b2
commit 0a95df5b48
  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