BLOG-48 SEO improvement #115

Closed
squid wants to merge 5 commits from BLOG-48_seo_improve into main
Showing only changes of commit bf2ca1056b - Show all commits

View File

@ -21,6 +21,10 @@
datePublished: datePublished.toISOString(), datePublished: datePublished.toISOString(),
image: image.href image: image.href
}); });
const jsonLdScript = $derived(
`<script type="application/ld+json">${JSON.stringify(structuredData)}${'<'}/script>`
);
</script> </script>
{@html `<script type="application/ld+json">${JSON.stringify(structuredData)}<\/script>`} {@html jsonLdScript}