aboutsummaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/BaseLayout.astro5
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>