From 855e5603e8d4ea9cda70e7816d90ae1591c9b364 Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Sat, 3 Jun 2023 23:36:09 -0400 Subject: [PATCH] Try to use a different schema setup. --- client/components/SEOTricks.svelte | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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}