diff options
Diffstat (limited to 'src/components/Layouts')
| -rw-r--r-- | src/components/Layouts/Layout.tsx | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx index 9c29df9..845d6fa 100644 --- a/src/components/Layouts/Layout.tsx +++ b/src/components/Layouts/Layout.tsx @@ -101,18 +101,13 @@ const Layout = ({ <link rel="icon" href="/icon.svg" type="image/svg+xml" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="manifest" href="/manifest.webmanifest" /> - <script - type="application/ld+json" - dangerouslySetInnerHTML={{ __html: JSON.stringify(schemaJsonLd) }} - ></script> - <script - type="application/ld+json" - dangerouslySetInnerHTML={{ - __html: JSON.stringify(searchActionSchema), - }} - ></script> </Head> <Script + id="schema-layout" + type="application/ld+json" + dangerouslySetInnerHTML={{ __html: JSON.stringify(schemaJsonLd) }} + ></Script> + <Script strategy="afterInteractive" async src={`${settings.ackee.url}/${settings.ackee.filename}`} |
