Merge pull request #292 from reuters-graphics/jon-seo
Ignore SEO hydration in ld+json
This commit is contained in:
commit
20ddfa55e3
2 changed files with 7 additions and 0 deletions
5
.changeset/twelve-ravens-lead.md
Normal file
5
.changeset/twelve-ravens-lead.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@reuters-graphics/graphics-components': patch
|
||||
---
|
||||
|
||||
Ignore hydration mismatch in SEO component ld+json
|
||||
|
|
@ -185,9 +185,11 @@
|
|||
<meta property="fb:admins" content="625796953" />
|
||||
<meta property="fb:admins" content="571759798" />
|
||||
|
||||
<!-- svelte-ignore hydration_html_changed -->
|
||||
{@html `<${'script'} type="application/ld+json">${JSON.stringify(
|
||||
orgLdJson
|
||||
)}</script>`}
|
||||
<!-- svelte-ignore hydration_html_changed -->
|
||||
{@html `<${'script'} type="application/ld+json">${JSON.stringify(
|
||||
articleLdJson
|
||||
)}</script>`}
|
||||
|
|
|
|||
Loading…
Reference in a new issue