BLOG-48 SEO Improvement #116

Merged
squid merged 5 commits from BLOG-48_seo_improve into main 2025-08-05 11:25:40 +08:00
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}