feat: add support for Isso comments

This commit is contained in:
welpo
2023-07-26 01:47:26 +02:00
parent e1dfd2ea07
commit 9a98789922
13 changed files with 561 additions and 31 deletions

View File

@@ -13,7 +13,7 @@ function setTheme(theme, saveToLocalStorage = false) {
localStorage.setItem("theme", theme);
}
// Dispatch a custom event for utterances and giscus.
// Dispatch a custom event for comment systems.
const event = new CustomEvent("themeChanged", {
detail: { theme: theme }
});