mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
16 lines
328 B
Plaintext
16 lines
328 B
Plaintext
---
|
|
|
|
import type { Thing, WithContext } from 'schema-dts';
|
|
|
|
interface Props {
|
|
schema: WithContext<Thing>;
|
|
}
|
|
|
|
const { schema } = Astro.props;
|
|
---
|
|
|
|
{
|
|
/* astro(4000) is expected — JSON-LD is static data that should be inline (withastro/astro#3544) */
|
|
}
|
|
<script type="application/ld+json" set:html={JSON.stringify(schema)} />
|