fix(giscus): theme and language (#783)

* fix(giscuss): system theme

* fix(giscuss): language

* fix(giscuss): theme switching

* chore: remove confusing comment

* fix(giscuss): use a uniq ID

* chore: remove useless function

* chore: use extra language code

* chore: add comment about hash

* Update layouts/_partials/components/giscus.html

---------

Co-authored-by: Xin <5097752+imfing@users.noreply.github.com>
This commit is contained in:
Ludovic Fernandez
2025-08-24 23:06:14 +02:00
committed by GitHub
parent a19de798b6
commit 546bcc2e26
2 changed files with 44 additions and 33 deletions

View File

@@ -31,7 +31,7 @@ languages:
title: هگزترا
ja:
languageName: 日本語
languageCode: ja
languageCode: ja-JP
weight: 3
title: Hextra
zh-cn: