diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-12-23 14:20:07 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-12-23 14:20:07 +0100 |
| commit | 078d34867aa33fd7684ebe54b723309f2dcbc0ff (patch) | |
| tree | 11a475013469c1fca26a8cf75649917ff2d16fff /src/pages/blog | |
| parent | 3013f352570439832075bab19c9ae91ec6ab98ac (diff) | |
Fix complaints
Diffstat (limited to 'src/pages/blog')
| -rw-r--r-- | src/pages/blog/[id].astro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pages/blog/[id].astro b/src/pages/blog/[id].astro index 6488a04..50bf998 100644 --- a/src/pages/blog/[id].astro +++ b/src/pages/blog/[id].astro @@ -9,7 +9,7 @@ export const getStaticPaths = (async () => { params: { id: entry.id }, props: { entry }, })); -}) as GetStaticPaths; +}) satisfies GetStaticPaths; const { entry } = Astro.props; const { Content } = await render(entry); @@ -44,7 +44,7 @@ const schema = { --- <Layout title={entry.data.title} description={entry.data.metaDescription}> - <script type="application/ld+json" slot="head-jsonld" set:html={JSON.stringify(schema)}></script> + <script is:inline type="application/ld+json" slot="head-jsonld" set:html={JSON.stringify(schema)}></script> <h1>{entry.data.title}</h1> <small> |
