diff options
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/BaseLayout.astro | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index ed3baeb..a2f0327 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,5 +1,5 @@ --- -import type { WithContext, Thing } from "schema-dts"; +import type { Thing } from "schema-dts"; import Analytics from "../components/Analytics.astro"; import Head from "../components/Head.astro"; import Header from "../components/Header.astro"; @@ -9,15 +9,16 @@ type Props = { readonly description: string; readonly lang: string; readonly preview: string; - readonly schema: WithContext<Thing>; + readonly robots?: string; + readonly schema: Thing[]; readonly title: string; }; -const { description, lang, preview, schema, title } = Astro.props; +const { description, lang, preview, robots, schema, title } = Astro.props; --- <html lang={lang}> - <Head title={title} description={description} preview={preview} schema={schema} /> + <Head title={title} description={description} preview={preview} robots={robots} schema={schema} /> <body> <main> |
