mirror of
https://github.com/Metastem/wikiless
synced 2024-12-06 19:16:58 +01:00
+1
-1
@@ -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>`)
|
||||
|
||||
Reference in New Issue
Block a user