diff --git a/_includes/head.html b/_includes/head.html
index f7ab6ed..e640f97 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -12,9 +12,10 @@
- {% assign color_scheme = site.color_scheme %}
- {% if color_theme == nil %}
+ {% if site.color_scheme == nil or site.color_scheme == "nil" %}
{% assign color_scheme = 'light' %}
+ {% else %}
+ {% assign color_scheme = site.color_scheme %}
{% endif %}