remove darkThemeAsDefault

This commit is contained in:
zwbetz-gh 2020-11-24 20:52:10 -06:00
parent a86462deb4
commit 2c39eba5a6
2 changed files with 0 additions and 11 deletions

View File

@ -130,13 +130,6 @@
}
});
function handleDarkThemeAsDefault() {
{{ if .Site.Params.darkThemeAsDefault }}
persistTheme('true');
handleDarkThemeAsDefault = function() {};
{{ end }}
}
function showTheme() {
if (localStorage.getItem('darkTheme') === 'true') {
applyDarkTheme();
@ -150,10 +143,7 @@
}
window.addEventListener('DOMContentLoaded', function () {
handleDarkThemeAsDefault();
showTheme();
showContent();
});

View File

@ -24,7 +24,6 @@ params:
dateFormat: Jan 2, 2006
codePenUser: someUser
katex: true
darkThemeAsDefault: false
hideHeaderLinks: false
search: true
customCss: