From 82c53a1c80069734da273883885d764ada0c1dd2 Mon Sep 17 00:00:00 2001
From: Garklein <63201615+Garklein@users.noreply.github.com>
Date: Tue, 08 Jul 2025 02:46:52 +0000
Subject: [PATCH] fix docs for using custom components compositionally (#2044)

---
 quartz/components/Comments.tsx |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/quartz/components/Comments.tsx b/quartz/components/Comments.tsx
index 0bfd82d..a731521 100644
--- a/quartz/components/Comments.tsx
+++ b/quartz/components/Comments.tsx
@@ -17,6 +17,7 @@
     strict?: boolean
     reactionsEnabled?: boolean
     inputPosition?: "top" | "bottom"
+    lang?: string
   }
 }
 
@@ -50,6 +51,7 @@
         data-theme-url={
           opts.options.themeUrl ?? `https://${cfg.baseUrl ?? "example.com"}/static/giscus`
         }
+        data-lang={opts.options.lang ?? "en"}
       ></div>
     )
   }

--
Gitblit v1.10.0