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" />
{roadmap?.id && (
<script type="application/ld+json">
{JSON.stringify(getRichSnippetJson(roadmap))}
</script>
<script
type="application/ld+json"
dangerouslySetInnerHTML={{
__html: JSON.stringify(getRichSnippetJson(roadmap)),
}}
/>
)}
{/* Global Site Tag (gtag.js) - Google Analytics */}

Loading…
Cancel
Save