feat: add support for giscus & utterances comments

This commit is contained in:
welpo 2023-07-12 18:44:28 +02:00
parent 93c8b577b8
commit 19d120019b
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
17 changed files with 333 additions and 99 deletions

View file

@ -0,0 +1 @@
!function(){const e=localStorage.getItem("theme");if(e)document.documentElement.setAttribute("data-theme",e);else{const t=window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.setAttribute("data-theme",t?"dark":"light")}}();