fix dark theme of Korean 'Main_Page' (#46, #76)

This commit is contained in:
Jean-Luc Tibaux
2022-07-23 19:02:34 +00:00
parent f898d7b546
commit e0afa3cf33
7 changed files with 67 additions and 8 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ module.exports = function(redis) {
} else if(theme === 'dark') {
// if the user has chosen the dark theme from the preferences
data = data.replace('</head>', `<link rel="stylesheet" href="/wikipedia_styles_light${lang_suffix}.css">
<link rel="stylesheet" href="/wikipedia_styles_dark.css"></head>`)
<link rel="stylesheet" href="/wikipedia_styles_dark${lang_suffix}.css"></head>`)
} else {
// default, auto theme
data = data.replace('</head>', `<link rel="stylesheet" href="/styles${lang_suffix}.css"></head>`)