Fixed stylesheet link

(cherry picked from commit ac42a41ae3e36b002df52882be296c01873c0e5b)
This commit is contained in:
Silvio Giebl 2019-05-20 10:05:56 +02:00 committed by Silvio Giebl
parent cba53a6914
commit f61b836f6e
1 changed files with 3 additions and 2 deletions

View File

@ -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 }}">