-
Notifications
You must be signed in to change notification settings - Fork 391
Labels
backportbugSomething isn't workingSomething isn't workingthemesRelated to HTML theming or any other style related issue (like highlight-style)Related to HTML theming or any other style related issue (like highlight-style)
Milestone
Description
I just found this, because in my quarto blog, deployed as gh-pages, giscus is not loading and I see in my javascript console the following:
Uncaught ReferenceError: authorPrefersDark is not definedAny idea?
Originally posted by @feinmann in #12611 (comment)
giscus.ejs refers to a JavaScript variable which will only exist if dark mode is enabled for the page. This code needs to be conditionally included only for dark mode.
Metadata
Metadata
Assignees
Labels
backportbugSomething isn't workingSomething isn't workingthemesRelated to HTML theming or any other style related issue (like highlight-style)Related to HTML theming or any other style related issue (like highlight-style)