diff --git a/public/views/error-template.html b/public/views/error-template.html
index 0f785120ce1..28e828a1554 100644
--- a/public/views/error-template.html
+++ b/public/views/error-template.html
@@ -10,7 +10,11 @@
-
+ [[ if eq .Theme "light" ]]
+
+ [[ else ]]
+
+ [[ end ]]
diff --git a/public/views/index-template.html b/public/views/index-template.html
index 2923b1918f9..955a1b4fc4e 100644
--- a/public/views/index-template.html
+++ b/public/views/index-template.html
@@ -20,10 +20,12 @@
-
+
+ [[ if eq .Theme "light" ]]
+
+ [[ else ]]
+
+ [[ end ]]