aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-12 01:17:56 +0300
committerValentin Popov <valentin@popov.link>2024-09-12 01:17:56 +0300
commitdc6c24e56a1c14876cf3a0b3184575458d686b6f (patch)
tree6afb9669e1afb7090e9de8bd1fe75332ac8124b0
parent6494405a04ec6e913bc2c7a51168f2829b8dd8a1 (diff)
downloadpopov.link-dc6c24e56a1c14876cf3a0b3184575458d686b6f.tar.xz
popov.link-dc6c24e56a1c14876cf3a0b3184575458d686b6f.zip
Update Comments component to include inline Giscus script
-rw-r--r--src/components/Comments.astro1
-rw-r--r--src/layouts/BaseLayout.astro2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Comments.astro b/src/components/Comments.astro
index f9ae4e5..0247ebf 100644
--- a/src/components/Comments.astro
+++ b/src/components/Comments.astro
@@ -14,6 +14,7 @@ const theme = "transparent_dark";
---
<script
+ is:inline
src="https://giscus.app/client.js"
data-category-id={categoryId}
data-category={category}
diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro
index 5cbaf5c..29a7408 100644
--- a/src/layouts/BaseLayout.astro
+++ b/src/layouts/BaseLayout.astro
@@ -5,7 +5,7 @@ import Header from "../components/Header.astro";
const { title, description } = Astro.props;
---
-<html>
+<html lang="ru">
<Head title={title} description={description} />
<body>