docs: jsonld via svelte-tag statt {@html}
User-feedback: <script type="application/ld+json"> kann svelte direkt rendern. Kein @html-Notausgang noetig, sauberere variante mit auto-escape. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
7428930a76
commit
0b287f9ff6
|
|
@ -1734,7 +1734,7 @@ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>"
|
|||
<link rel="alternate" hreflang={alt.lang} href={`${siteUrl}/${alt.slug}/`} />
|
||||
{/each}
|
||||
<link rel="alternate" hreflang="x-default" href={canonical} />
|
||||
{@html `<script type="application/ld+json">${jsonLd}</script>`}
|
||||
<script type="application/ld+json">{jsonLd}</script>
|
||||
</svelte:head>
|
||||
{/if}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue