diff --git a/client/components/SEOTricks.svelte b/client/components/SEOTricks.svelte index 4e62576..b1545ef 100644 --- a/client/components/SEOTricks.svelte +++ b/client/components/SEOTricks.svelte @@ -27,9 +27,9 @@ export let language = "en"; - export let json_ld = { - "@context": "http://schema.org", - "@type": "WebSite", + export let schema_context = "http://schema.org"; + export let schema_type = "WebSite"; + export let schema_data = { "name": og.title, "url": og.url, "sameAs": [`https://twitter.com/${twitter.site}`], @@ -38,10 +38,12 @@ - - + +
+ {#each Object.keys(schema_data) as key} + + {/each} +
{#each Object.keys(og) as key}