From 9fa377b8fb049b1355efca74c1cf5f3367898492 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Thu, 17 Apr 2025 14:03:54 +0200 Subject: [PATCH] Revert Giscus Mutation Observer logic to load correct theme This reverts "Merge pull request #11047 from kv9898/main" reverting commit 61f987c02177473129205b94c6d234ae4a18e754, reversing changes made to dca59841224d750232ef40f4d6e9fb65b4aa5abb. Updated logic for handling Light / Dark mode is now enough to load the correct theme at startup. So https://github.com/quarto-dev/quarto-cli/pull/12173 fix the initial issue #8613 --- src/resources/formats/html/giscus/giscus.ejs | 68 +++++--------------- 1 file changed, 16 insertions(+), 52 deletions(-) diff --git a/src/resources/formats/html/giscus/giscus.ejs b/src/resources/formats/html/giscus/giscus.ejs index 723fbeb6f7d..d80da2f2fcb 100644 --- a/src/resources/formats/html/giscus/giscus.ejs +++ b/src/resources/formats/html/giscus/giscus.ejs @@ -1,53 +1,17 @@ - - - + + \ No newline at end of file