diff --git a/_config.yml b/_config.yml index a1b4ca7..3649702 100644 --- a/_config.yml +++ b/_config.yml @@ -27,7 +27,7 @@ github: twitter_url: https://anonymousplanet.org/twitter.html mastodon_url: https://mastodon.social/@anonymousplanet constitution_url: constitution.html - tor_mirror_url: http://thgtoa27ujspeqxasrfvcf5aozqdczvgmwgorrmblh6jn4nino3spcqd.onion + # tor_mirror_url: http://thgtoa27ujspeqxasrfvcf5aozqdczvgmwgorrmblh6jn4nino3spcqd.onion defaults: - scope: diff --git a/_layouts/default.html b/_layouts/default.html index 914e17a..c881fce 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,7 +3,8 @@ - + + @@ -18,15 +19,15 @@ document.getElementById('light').media = "none"; themeicon.innerHTML = ''; } - + function SetLight() { document.getElementById('light').media = ""; document.getElementById('dark').media = "none"; themeicon.innerHTML = ''; } - - window.addEventListener('load', - function() { + + window.addEventListener('load', + function() { if (window.matchMedia("(prefers-color-scheme: dark)").matches) { if (localStorage.getItem("theme") == "light") { SetLight(); @@ -48,7 +49,7 @@ document.getElementById('switch').checked = false; } }, false); - + function switch_theme(state) { if (state) { SetLight();