Ask questionsUse <script type="application/ld+json"> in <svelte:head>
Good day!
Have we any solution to use json-ld in svelte:head?
I try insert it as @html string, but it rewrite all other head elements.
reproduction: https://v3.svelte.technology/repl?version=3.0.0-beta.28&gist=0337994512de9223053c6f24e34e7d04
<!-- Thanks for raising an issue! (For questions, we recommend instead using https://stackoverflow.com and adding the 'svelte' tag.)
To help us help you, if you've found a bug please consider the following:
Reproductions should be small, self-contained, correct examples – http://sscce.org.
Occasionally, this won't be possible, and that's fine – we still appreciate you raising the issue. But please understand that Svelte is run by unpaid volunteers in their free time, and issues that follow these instructions will get fixed faster.
If you have a stack trace to include, we recommend putting inside a <details>
block for the sake of the thread's readability:
<details> <summary>Stack trace</summary>
Stack trace goes here... </details> -->
Answer
questions
cudr
@Conduitry, thanks!
But looks like in <script> inner value ignored.
reproduction: https://v3.svelte.technology/repl?version=3.0.0-beta.28&gist=0337994512de9223053c6f24e34e7d04
Related questions