diff options
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/BaseLayout.astro | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a2f0327..8336a3c 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -8,17 +8,20 @@ import "../scss/global.scss"; type Props = { readonly description: string; readonly lang: string; + readonly modifiedTime?: string; + readonly ogType?: "website" | "article"; readonly preview: string; + readonly publishedTime?: string; readonly robots?: string; readonly schema: Thing[]; readonly title: string; }; -const { description, lang, preview, robots, schema, title } = Astro.props; +const { description, lang, modifiedTime, ogType, preview, publishedTime, robots, schema, title } = Astro.props; --- <html lang={lang}> - <Head title={title} description={description} preview={preview} robots={robots} schema={schema} /> + <Head title={title} description={description} preview={preview} robots={robots} schema={schema} lang={lang} ogType={ogType} publishedTime={publishedTime} modifiedTime={modifiedTime} /> <body> <main> |
