diff options
Diffstat (limited to 'src/layouts')
-rw-r--r-- | src/layouts/BaseLayout.astro | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 908078e..f33ca69 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -7,12 +7,13 @@ import "../scss/global.scss"; type Props = { readonly description: string; readonly title: string; + readonly lang: string; }; -const { title, description } = Astro.props; +const { title, description, lang } = Astro.props; --- -<html lang="ru"> +<html lang={lang}> <Head title={title} description={description} /> <body> |