BLOG-48 fix: eslint
All checks were successful
PR Title Check / pr-title-check (pull_request) Successful in 16s
Frontend CI / build (push) Successful in 1m4s

This commit is contained in:
SquidSpirit 2025-08-05 05:55:03 +08:00
parent 68a175b704
commit c1caa10f2c

View File

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