From 9a174ea6cbe1fb5a3f9528c858c270694190e9b8 Mon Sep 17 00:00:00 2001 From: Jon McClure Date: Fri, 18 Nov 2022 16:22:39 +0000 Subject: [PATCH] try internal key for SEO --- src/components/SEO/SEO.svelte | 114 +++++++++++++++++----------------- 1 file changed, 58 insertions(+), 56 deletions(-) diff --git a/src/components/SEO/SEO.svelte b/src/components/SEO/SEO.svelte index 5b345222..ab2974e6 100644 --- a/src/components/SEO/SEO.svelte +++ b/src/components/SEO/SEO.svelte @@ -154,64 +154,66 @@ - {seoTitle} - - - - - - + {#key canonicalUrl} + {seoTitle} + + + + + + - - - - - - + + + + + + - - - - - - - - {#if shareImgAlt} - - {/if} + + + + + + + + {#if shareImgAlt} + + {/if} - - - - + + + + - {@html `<${'script'} type="application/ld+json">${JSON.stringify( - orgLdJson - )}`} - {@html `<${'script'} type="application/ld+json">${JSON.stringify( - articleLdJson - )}`} + {@html `<${'script'} type="application/ld+json">${JSON.stringify( + orgLdJson + )}`} + {@html `<${'script'} type="application/ld+json">${JSON.stringify( + articleLdJson + )}`} + {/key}