BLOG-48 fix: eslint
All checks were successful
Frontend CI / build (push) Successful in 1m10s
Auto Comment On PR / add_improve_comment (pull_request) Successful in 17s
PR Title Check / pr-title-check (pull_request) Successful in 17s

This commit is contained in:
SquidSpirit 2025-08-05 05:55:03 +08:00
parent 7c9fa460aa
commit bf2ca1056b

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}