From f61b836f6e836595cd3979a5fc22eeedc17b01d8 Mon Sep 17 00:00:00 2001
From: Silvio Giebl <silvio.giebl@dc-square.de>
Date: Mon, 20 May 2019 10:05:56 +0200
Subject: [PATCH] Fixed stylesheet link

(cherry picked from commit ac42a41ae3e36b002df52882be296c01873c0e5b)
---
 _includes/head.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/_includes/head.html b/_includes/head.html
index f7ab6edf..e640f97f 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -12,9 +12,10 @@
 
   <link rel="shortcut icon" href="{{ 'favicon.ico' | absolute_url }}" type="image/x-icon">
 
-  {% 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 %}
   <link rel="stylesheet" href="{{ color_scheme | prepend: '/assets/css/just-the-docs-' | append: '.css' | absolute_url }}">
 
-- 
GitLab