* Test giscus on homepage

* Use @giscus/react and support light theme

* Track prefers color scheme

* Create a discussion tab for each version
This commit is contained in:
Misode
2022-03-16 02:39:33 +01:00
committed by GitHub
parent cf41b5cdac
commit 1b91485bf1
17 changed files with 420 additions and 12 deletions
+1
View File
@@ -13,6 +13,7 @@
ga('set', 'dimension3', localStorage.getItem('schema_version') || '1.18.2');
ga('set', 'dimension4', localStorage.getItem('language') || 'en');
ga('set', 'dimension5', 'none');
ga('set', 'dimension7', matchMedia('(prefers-color-scheme: light)').matches ? 'light' : matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'none');
ga('send', 'pageview');
</script>
<meta charset="utf-8">