diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:41:29 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 20:41:29 +0100 |
| commit | 7781c69153e3956ca14684fe9a287fbbb8a01082 (patch) | |
| tree | 6bf18977ee93608aead54dc2322c0d42c2284f78 /src/layouts/Page.astro | |
| parent | 71eac2d383c9918645e99b6b845fb8f4faecf346 (diff) | |
Determines current locale with lib function
Diffstat (limited to 'src/layouts/Page.astro')
| -rw-r--r-- | src/layouts/Page.astro | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/layouts/Page.astro b/src/layouts/Page.astro index 8e8b5a9..bc7a095 100644 --- a/src/layouts/Page.astro +++ b/src/layouts/Page.astro @@ -1,16 +1,14 @@ --- -import type Locale from '$types/Locale'; import Layout from './Layout.astro'; interface Props { - locale: Locale; title: string; } -const { locale, title } = Astro.props; +const { title } = Astro.props; --- -<Layout locale={locale} title={title}> +<Layout title={title}> <main id="main"> <slot /> </main> |
